﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="AGNIS_FORMSDataSet" targetNamespace="http://tempuri.org/AGNIS_FORMSDataSet.xsd" xmlns:mstns="http://tempuri.org/AGNIS_FORMSDataSet.xsd" xmlns="http://tempuri.org/AGNIS_FORMSDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="1" FunctionsComponentName="QueriesTableAdapter" GeneratorFunctionsComponentClassName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" UserFunctionsComponentName="QueriesTableAdapter" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="AGNIS_FORMSConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="AGNIS_FORMSConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.AgnisDAL.Properties.Settings.GlobalReference.Default.AGNIS_FORMSConnectionString" Provider="System.Data.SqlClient" />
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="AgnisdbConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="AgnisdbConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.AgnisDAL.Properties.Settings.GlobalReference.Default.AgnisdbConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="FORMTableAdapter" GeneratorDataComponentClassName="FORMTableAdapter" Name="FORM" UserDataComponentName="FORMTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AGNIS_FORMSConnectionString (Settings)" DbObjectName="AGNIS_FORMS.dbo.FORM" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[FORM] WHERE (([FORM_ID] = @Original_FORM_ID) AND ((@IsNull_PUBLISHER_INSTITUTION_ID = 1 AND [PUBLISHER_INSTITUTION_ID] IS NULL) OR ([PUBLISHER_INSTITUTION_ID] = @Original_PUBLISHER_INSTITUTION_ID)) AND ((@IsNull_INSTANCE_ID = 1 AND [INSTANCE_ID] IS NULL) OR ([INSTANCE_ID] = @Original_INSTANCE_ID)) AND ((@IsNull_ORIGINATOR_INSTITUTION_ID = 1 AND [ORIGINATOR_INSTITUTION_ID] IS NULL) OR ([ORIGINATOR_INSTITUTION_ID] = @Original_ORIGINATOR_INSTITUTION_ID)) AND ((@IsNull_PUBLIC_ID = 1 AND [PUBLIC_ID] IS NULL) OR ([PUBLIC_ID] = @Original_PUBLIC_ID)) AND ((@IsNull_VERSION = 1 AND [VERSION] IS NULL) OR ([VERSION] = @Original_VERSION)) AND ((@IsNull_ALTERNATE_METADATA_TYPE = 1 AND [ALTERNATE_METADATA_TYPE] IS NULL) OR ([ALTERNATE_METADATA_TYPE] = @Original_ALTERNATE_METADATA_TYPE)) AND ((@IsNull_ALTERNATE_METADATA_ID = 1 AND [ALTERNATE_METADATA_ID] IS NULL) OR ([ALTERNATE_METADATA_ID] = @Original_ALTERNATE_METADATA_ID)) AND ((@IsNull_CURRENT_FORM_REVISION_SEQ_NUM = 1 AND [CURRENT_FORM_REVISION_SEQ_NUM] IS NULL) OR ([CURRENT_FORM_REVISION_SEQ_NUM] = @Original_CURRENT_FORM_REVISION_SEQ_NUM)) AND ((@IsNull_MODIFICATION_TIME = 1 AND [MODIFICATION_TIME] IS NULL) OR ([MODIFICATION_TIME] = @Original_MODIFICATION_TIME)) AND ((@IsNull_MODIFICATION_USER_ID = 1 AND [MODIFICATION_USER_ID] IS NULL) OR ([MODIFICATION_USER_ID] = @Original_MODIFICATION_USER_ID)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_FORM_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="FORM_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PUBLISHER_INSTITUTION_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PUBLISHER_INSTITUTION_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_PUBLISHER_INSTITUTION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PUBLISHER_INSTITUTION_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_INSTANCE_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="INSTANCE_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_INSTANCE_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="INSTANCE_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ORIGINATOR_INSTITUTION_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ORIGINATOR_INSTITUTION_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ORIGINATOR_INSTITUTION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ORIGINATOR_INSTITUTION_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PUBLIC_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PUBLIC_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_PUBLIC_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PUBLIC_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_VERSION" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VERSION" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VERSION" Precision="4" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VERSION" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ALTERNATE_METADATA_TYPE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_TYPE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ALTERNATE_METADATA_TYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_TYPE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ALTERNATE_METADATA_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ALTERNATE_METADATA_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CURRENT_FORM_REVISION_SEQ_NUM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CURRENT_FORM_REVISION_SEQ_NUM" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CURRENT_FORM_REVISION_SEQ_NUM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CURRENT_FORM_REVISION_SEQ_NUM" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_USER_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[FORM] ([PUBLISHER_INSTITUTION_ID], [INSTANCE_ID], [ORIGINATOR_INSTITUTION_ID], [PUBLIC_ID], [VERSION], [ALTERNATE_METADATA_TYPE], [ALTERNATE_METADATA_ID], [CURRENT_FORM_REVISION_SEQ_NUM], [MODIFICATION_TIME], [MODIFICATION_USER_ID]) VALUES (@PUBLISHER_INSTITUTION_ID, @INSTANCE_ID, @ORIGINATOR_INSTITUTION_ID, @PUBLIC_ID, @VERSION, @ALTERNATE_METADATA_TYPE, @ALTERNATE_METADATA_ID, @CURRENT_FORM_REVISION_SEQ_NUM, @MODIFICATION_TIME, @MODIFICATION_USER_ID);
SELECT FORM_ID, PUBLISHER_INSTITUTION_ID, INSTANCE_ID, ORIGINATOR_INSTITUTION_ID, PUBLIC_ID, VERSION, ALTERNATE_METADATA_TYPE, ALTERNATE_METADATA_ID, CURRENT_FORM_REVISION_SEQ_NUM, MODIFICATION_TIME, MODIFICATION_USER_ID FROM FORM WHERE (FORM_ID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@PUBLISHER_INSTITUTION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PUBLISHER_INSTITUTION_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@INSTANCE_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="INSTANCE_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@ORIGINATOR_INSTITUTION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ORIGINATOR_INSTITUTION_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@PUBLIC_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PUBLIC_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VERSION" Precision="4" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VERSION" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ALTERNATE_METADATA_TYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_TYPE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ALTERNATE_METADATA_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CURRENT_FORM_REVISION_SEQ_NUM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CURRENT_FORM_REVISION_SEQ_NUM" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT FORM_ID, PUBLISHER_INSTITUTION_ID, INSTANCE_ID, ORIGINATOR_INSTITUTION_ID, PUBLIC_ID, VERSION, ALTERNATE_METADATA_TYPE, ALTERNATE_METADATA_ID, CURRENT_FORM_REVISION_SEQ_NUM, MODIFICATION_TIME, MODIFICATION_USER_ID FROM dbo.FORM</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[FORM] SET [PUBLISHER_INSTITUTION_ID] = @PUBLISHER_INSTITUTION_ID, [INSTANCE_ID] = @INSTANCE_ID, [ORIGINATOR_INSTITUTION_ID] = @ORIGINATOR_INSTITUTION_ID, [PUBLIC_ID] = @PUBLIC_ID, [VERSION] = @VERSION, [ALTERNATE_METADATA_TYPE] = @ALTERNATE_METADATA_TYPE, [ALTERNATE_METADATA_ID] = @ALTERNATE_METADATA_ID, [CURRENT_FORM_REVISION_SEQ_NUM] = @CURRENT_FORM_REVISION_SEQ_NUM, [MODIFICATION_TIME] = @MODIFICATION_TIME, [MODIFICATION_USER_ID] = @MODIFICATION_USER_ID WHERE (([FORM_ID] = @Original_FORM_ID) AND ((@IsNull_PUBLISHER_INSTITUTION_ID = 1 AND [PUBLISHER_INSTITUTION_ID] IS NULL) OR ([PUBLISHER_INSTITUTION_ID] = @Original_PUBLISHER_INSTITUTION_ID)) AND ((@IsNull_INSTANCE_ID = 1 AND [INSTANCE_ID] IS NULL) OR ([INSTANCE_ID] = @Original_INSTANCE_ID)) AND ((@IsNull_ORIGINATOR_INSTITUTION_ID = 1 AND [ORIGINATOR_INSTITUTION_ID] IS NULL) OR ([ORIGINATOR_INSTITUTION_ID] = @Original_ORIGINATOR_INSTITUTION_ID)) AND ((@IsNull_PUBLIC_ID = 1 AND [PUBLIC_ID] IS NULL) OR ([PUBLIC_ID] = @Original_PUBLIC_ID)) AND ((@IsNull_VERSION = 1 AND [VERSION] IS NULL) OR ([VERSION] = @Original_VERSION)) AND ((@IsNull_ALTERNATE_METADATA_TYPE = 1 AND [ALTERNATE_METADATA_TYPE] IS NULL) OR ([ALTERNATE_METADATA_TYPE] = @Original_ALTERNATE_METADATA_TYPE)) AND ((@IsNull_ALTERNATE_METADATA_ID = 1 AND [ALTERNATE_METADATA_ID] IS NULL) OR ([ALTERNATE_METADATA_ID] = @Original_ALTERNATE_METADATA_ID)) AND ((@IsNull_CURRENT_FORM_REVISION_SEQ_NUM = 1 AND [CURRENT_FORM_REVISION_SEQ_NUM] IS NULL) OR ([CURRENT_FORM_REVISION_SEQ_NUM] = @Original_CURRENT_FORM_REVISION_SEQ_NUM)) AND ((@IsNull_MODIFICATION_TIME = 1 AND [MODIFICATION_TIME] IS NULL) OR ([MODIFICATION_TIME] = @Original_MODIFICATION_TIME)) AND ((@IsNull_MODIFICATION_USER_ID = 1 AND [MODIFICATION_USER_ID] IS NULL) OR ([MODIFICATION_USER_ID] = @Original_MODIFICATION_USER_ID)));
SELECT FORM_ID, PUBLISHER_INSTITUTION_ID, INSTANCE_ID, ORIGINATOR_INSTITUTION_ID, PUBLIC_ID, VERSION, ALTERNATE_METADATA_TYPE, ALTERNATE_METADATA_ID, CURRENT_FORM_REVISION_SEQ_NUM, MODIFICATION_TIME, MODIFICATION_USER_ID FROM FORM WHERE (FORM_ID = @FORM_ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@PUBLISHER_INSTITUTION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PUBLISHER_INSTITUTION_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@INSTANCE_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="INSTANCE_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@ORIGINATOR_INSTITUTION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ORIGINATOR_INSTITUTION_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@PUBLIC_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PUBLIC_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VERSION" Precision="4" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VERSION" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ALTERNATE_METADATA_TYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_TYPE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ALTERNATE_METADATA_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CURRENT_FORM_REVISION_SEQ_NUM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CURRENT_FORM_REVISION_SEQ_NUM" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_FORM_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="FORM_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PUBLISHER_INSTITUTION_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PUBLISHER_INSTITUTION_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_PUBLISHER_INSTITUTION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PUBLISHER_INSTITUTION_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_INSTANCE_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="INSTANCE_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_INSTANCE_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="INSTANCE_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ORIGINATOR_INSTITUTION_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ORIGINATOR_INSTITUTION_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ORIGINATOR_INSTITUTION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ORIGINATOR_INSTITUTION_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PUBLIC_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PUBLIC_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_PUBLIC_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PUBLIC_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_VERSION" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VERSION" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VERSION" Precision="4" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VERSION" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ALTERNATE_METADATA_TYPE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_TYPE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ALTERNATE_METADATA_TYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_TYPE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ALTERNATE_METADATA_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ALTERNATE_METADATA_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CURRENT_FORM_REVISION_SEQ_NUM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CURRENT_FORM_REVISION_SEQ_NUM" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CURRENT_FORM_REVISION_SEQ_NUM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CURRENT_FORM_REVISION_SEQ_NUM" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_USER_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="FORM_ID" ColumnName="FORM_ID" DataSourceName="AGNIS_FORMS.dbo.FORM" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@FORM_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="FORM_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="FORM_ID" DataSetColumn="FORM_ID" />
              <Mapping SourceColumn="PUBLISHER_INSTITUTION_ID" DataSetColumn="PUBLISHER_INSTITUTION_ID" />
              <Mapping SourceColumn="INSTANCE_ID" DataSetColumn="INSTANCE_ID" />
              <Mapping SourceColumn="ORIGINATOR_INSTITUTION_ID" DataSetColumn="ORIGINATOR_INSTITUTION_ID" />
              <Mapping SourceColumn="PUBLIC_ID" DataSetColumn="PUBLIC_ID" />
              <Mapping SourceColumn="VERSION" DataSetColumn="VERSION" />
              <Mapping SourceColumn="ALTERNATE_METADATA_TYPE" DataSetColumn="ALTERNATE_METADATA_TYPE" />
              <Mapping SourceColumn="ALTERNATE_METADATA_ID" DataSetColumn="ALTERNATE_METADATA_ID" />
              <Mapping SourceColumn="CURRENT_FORM_REVISION_SEQ_NUM" DataSetColumn="CURRENT_FORM_REVISION_SEQ_NUM" />
              <Mapping SourceColumn="MODIFICATION_TIME" DataSetColumn="MODIFICATION_TIME" />
              <Mapping SourceColumn="MODIFICATION_USER_ID" DataSetColumn="MODIFICATION_USER_ID" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="FORM_ELEMENT_ERRORTableAdapter" GeneratorDataComponentClassName="FORM_ELEMENT_ERRORTableAdapter" Name="FORM_ELEMENT_ERROR" UserDataComponentName="FORM_ELEMENT_ERRORTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AGNIS_FORMSConnectionString (Settings)" DbObjectName="AGNIS_FORMS.dbo.FORM_ELEMENT_ERROR" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[FORM_ELEMENT_ERROR] WHERE (([FORM_ELEMENT_ERROR_ID] = @Original_FORM_ELEMENT_ERROR_ID) AND ((@IsNull_FORM_REVISION_ID = 1 AND [FORM_REVISION_ID] IS NULL) OR ([FORM_REVISION_ID] = @Original_FORM_REVISION_ID)) AND ((@IsNull_QUESTION_ID = 1 AND [QUESTION_ID] IS NULL) OR ([QUESTION_ID] = @Original_QUESTION_ID)) AND ((@IsNull_ERROR_TYPE = 1 AND [ERROR_TYPE] IS NULL) OR ([ERROR_TYPE] = @Original_ERROR_TYPE)) AND ((@IsNull_ERROR_MESSAGE = 1 AND [ERROR_MESSAGE] IS NULL) OR ([ERROR_MESSAGE] = @Original_ERROR_MESSAGE)) AND ((@IsNull_MODIFICATION_TIME = 1 AND [MODIFICATION_TIME] IS NULL) OR ([MODIFICATION_TIME] = @Original_MODIFICATION_TIME)) AND ((@IsNull_MODIFICATION_USER_ID = 1 AND [MODIFICATION_USER_ID] IS NULL) OR ([MODIFICATION_USER_ID] = @Original_MODIFICATION_USER_ID)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_FORM_ELEMENT_ERROR_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="FORM_ELEMENT_ERROR_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_FORM_REVISION_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FORM_REVISION_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_FORM_REVISION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="FORM_REVISION_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_QUESTION_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QUESTION_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_QUESTION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="QUESTION_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ERROR_TYPE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ERROR_TYPE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ERROR_TYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ERROR_TYPE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ERROR_MESSAGE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ERROR_MESSAGE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ERROR_MESSAGE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ERROR_MESSAGE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_USER_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[FORM_ELEMENT_ERROR] ([FORM_REVISION_ID], [QUESTION_ID], [ERROR_TYPE], [ERROR_MESSAGE], [ERROR_RAW_DATA], [MODIFICATION_TIME], [MODIFICATION_USER_ID]) VALUES (@FORM_REVISION_ID, @QUESTION_ID, @ERROR_TYPE, @ERROR_MESSAGE, @ERROR_RAW_DATA, @MODIFICATION_TIME, @MODIFICATION_USER_ID);
SELECT FORM_ELEMENT_ERROR_ID, FORM_REVISION_ID, QUESTION_ID, ERROR_TYPE, ERROR_MESSAGE, ERROR_RAW_DATA, MODIFICATION_TIME, MODIFICATION_USER_ID FROM FORM_ELEMENT_ERROR WHERE (FORM_ELEMENT_ERROR_ID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@FORM_REVISION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="FORM_REVISION_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@QUESTION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="QUESTION_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ERROR_TYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ERROR_TYPE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ERROR_MESSAGE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ERROR_MESSAGE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ERROR_RAW_DATA" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="ERROR_RAW_DATA" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT FORM_ELEMENT_ERROR_ID, FORM_REVISION_ID, QUESTION_ID, ERROR_TYPE, ERROR_MESSAGE, ERROR_RAW_DATA, MODIFICATION_TIME, MODIFICATION_USER_ID FROM dbo.FORM_ELEMENT_ERROR</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[FORM_ELEMENT_ERROR] SET [FORM_REVISION_ID] = @FORM_REVISION_ID, [QUESTION_ID] = @QUESTION_ID, [ERROR_TYPE] = @ERROR_TYPE, [ERROR_MESSAGE] = @ERROR_MESSAGE, [ERROR_RAW_DATA] = @ERROR_RAW_DATA, [MODIFICATION_TIME] = @MODIFICATION_TIME, [MODIFICATION_USER_ID] = @MODIFICATION_USER_ID WHERE (([FORM_ELEMENT_ERROR_ID] = @Original_FORM_ELEMENT_ERROR_ID) AND ((@IsNull_FORM_REVISION_ID = 1 AND [FORM_REVISION_ID] IS NULL) OR ([FORM_REVISION_ID] = @Original_FORM_REVISION_ID)) AND ((@IsNull_QUESTION_ID = 1 AND [QUESTION_ID] IS NULL) OR ([QUESTION_ID] = @Original_QUESTION_ID)) AND ((@IsNull_ERROR_TYPE = 1 AND [ERROR_TYPE] IS NULL) OR ([ERROR_TYPE] = @Original_ERROR_TYPE)) AND ((@IsNull_ERROR_MESSAGE = 1 AND [ERROR_MESSAGE] IS NULL) OR ([ERROR_MESSAGE] = @Original_ERROR_MESSAGE)) AND ((@IsNull_MODIFICATION_TIME = 1 AND [MODIFICATION_TIME] IS NULL) OR ([MODIFICATION_TIME] = @Original_MODIFICATION_TIME)) AND ((@IsNull_MODIFICATION_USER_ID = 1 AND [MODIFICATION_USER_ID] IS NULL) OR ([MODIFICATION_USER_ID] = @Original_MODIFICATION_USER_ID)));
SELECT FORM_ELEMENT_ERROR_ID, FORM_REVISION_ID, QUESTION_ID, ERROR_TYPE, ERROR_MESSAGE, ERROR_RAW_DATA, MODIFICATION_TIME, MODIFICATION_USER_ID FROM FORM_ELEMENT_ERROR WHERE (FORM_ELEMENT_ERROR_ID = @FORM_ELEMENT_ERROR_ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@FORM_REVISION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="FORM_REVISION_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@QUESTION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="QUESTION_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ERROR_TYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ERROR_TYPE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ERROR_MESSAGE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ERROR_MESSAGE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ERROR_RAW_DATA" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="ERROR_RAW_DATA" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_FORM_ELEMENT_ERROR_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="FORM_ELEMENT_ERROR_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_FORM_REVISION_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FORM_REVISION_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_FORM_REVISION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="FORM_REVISION_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_QUESTION_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="QUESTION_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_QUESTION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="QUESTION_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ERROR_TYPE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ERROR_TYPE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ERROR_TYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ERROR_TYPE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ERROR_MESSAGE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ERROR_MESSAGE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ERROR_MESSAGE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ERROR_MESSAGE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_USER_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="FORM_ELEMENT_ERROR_ID" ColumnName="FORM_ELEMENT_ERROR_ID" DataSourceName="AGNIS_FORMS.dbo.FORM_ELEMENT_ERROR" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@FORM_ELEMENT_ERROR_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="FORM_ELEMENT_ERROR_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="FORM_ELEMENT_ERROR_ID" DataSetColumn="FORM_ELEMENT_ERROR_ID" />
              <Mapping SourceColumn="FORM_REVISION_ID" DataSetColumn="FORM_REVISION_ID" />
              <Mapping SourceColumn="QUESTION_ID" DataSetColumn="QUESTION_ID" />
              <Mapping SourceColumn="ERROR_TYPE" DataSetColumn="ERROR_TYPE" />
              <Mapping SourceColumn="ERROR_MESSAGE" DataSetColumn="ERROR_MESSAGE" />
              <Mapping SourceColumn="ERROR_RAW_DATA" DataSetColumn="ERROR_RAW_DATA" />
              <Mapping SourceColumn="MODIFICATION_TIME" DataSetColumn="MODIFICATION_TIME" />
              <Mapping SourceColumn="MODIFICATION_USER_ID" DataSetColumn="MODIFICATION_USER_ID" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="INFORMATION_PROCESSTableAdapter" GeneratorDataComponentClassName="INFORMATION_PROCESSTableAdapter" Name="INFORMATION_PROCESS" UserDataComponentName="INFORMATION_PROCESSTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AGNIS_FORMSConnectionString (Settings)" DbObjectName="AGNIS_FORMS.dbo.INFORMATION_PROCESS" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[INFORMATION_PROCESS] WHERE (([INFORMATION_PROCESS_ID] = @Original_INFORMATION_PROCESS_ID) AND ([UNIQUE_NAME] = @Original_UNIQUE_NAME) AND ((@IsNull_DESCRIPTION = 1 AND [DESCRIPTION] IS NULL) OR ([DESCRIPTION] = @Original_DESCRIPTION)) AND ((@IsNull_PROCESS_TYPE = 1 AND [PROCESS_TYPE] IS NULL) OR ([PROCESS_TYPE] = @Original_PROCESS_TYPE)) AND ((@IsNull_PROCESS_STATUS = 1 AND [PROCESS_STATUS] IS NULL) OR ([PROCESS_STATUS] = @Original_PROCESS_STATUS)) AND ((@IsNull_PROCESSING_RANK = 1 AND [PROCESSING_RANK] IS NULL) OR ([PROCESSING_RANK] = @Original_PROCESSING_RANK)) AND ((@IsNull_START_TIME = 1 AND [START_TIME] IS NULL) OR ([START_TIME] = @Original_START_TIME)) AND ((@IsNull_END_TIME = 1 AND [END_TIME] IS NULL) OR ([END_TIME] = @Original_END_TIME)) AND ((@IsNull_SUBSCRIBER_UNIQUE_NAME = 1 AND [SUBSCRIBER_UNIQUE_NAME] IS NULL) OR ([SUBSCRIBER_UNIQUE_NAME] = @Original_SUBSCRIBER_UNIQUE_NAME)) AND ((@IsNull_ORIGINATOR_UNIQUE_NAME = 1 AND [ORIGINATOR_UNIQUE_NAME] IS NULL) OR ([ORIGINATOR_UNIQUE_NAME] = @Original_ORIGINATOR_UNIQUE_NAME)) AND ((@IsNull_PUBLISHER_UNIQUE_NAME = 1 AND [PUBLISHER_UNIQUE_NAME] IS NULL) OR ([PUBLISHER_UNIQUE_NAME] = @Original_PUBLISHER_UNIQUE_NAME)) AND ((@IsNull_RETRIEVAL_SEQ_NUM = 1 AND [RETRIEVAL_SEQ_NUM] IS NULL) OR ([RETRIEVAL_SEQ_NUM] = @Original_RETRIEVAL_SEQ_NUM)) AND ((@IsNull_SERVICE_URL = 1 AND [SERVICE_URL] IS NULL) OR ([SERVICE_URL] = @Original_SERVICE_URL)) AND ((@IsNull_MODIFICATION_TIME = 1 AND [MODIFICATION_TIME] IS NULL) OR ([MODIFICATION_TIME] = @Original_MODIFICATION_TIME)) AND ((@IsNull_MODIFICATION_USER_ID = 1 AND [MODIFICATION_USER_ID] IS NULL) OR ([MODIFICATION_USER_ID] = @Original_MODIFICATION_USER_ID)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_INFORMATION_PROCESS_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="INFORMATION_PROCESS_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_UNIQUE_NAME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="UNIQUE_NAME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DESCRIPTION" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DESCRIPTION" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_DESCRIPTION" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="DESCRIPTION" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PROCESS_TYPE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PROCESS_TYPE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PROCESS_TYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PROCESS_TYPE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PROCESS_STATUS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PROCESS_STATUS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PROCESS_STATUS" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PROCESS_STATUS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PROCESSING_RANK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PROCESSING_RANK" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_PROCESSING_RANK" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PROCESSING_RANK" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_START_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="START_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_START_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="START_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_END_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="END_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_END_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="END_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SUBSCRIBER_UNIQUE_NAME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SUBSCRIBER_UNIQUE_NAME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SUBSCRIBER_UNIQUE_NAME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SUBSCRIBER_UNIQUE_NAME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ORIGINATOR_UNIQUE_NAME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ORIGINATOR_UNIQUE_NAME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ORIGINATOR_UNIQUE_NAME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ORIGINATOR_UNIQUE_NAME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PUBLISHER_UNIQUE_NAME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PUBLISHER_UNIQUE_NAME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PUBLISHER_UNIQUE_NAME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PUBLISHER_UNIQUE_NAME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_RETRIEVAL_SEQ_NUM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RETRIEVAL_SEQ_NUM" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_RETRIEVAL_SEQ_NUM" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="RETRIEVAL_SEQ_NUM" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SERVICE_URL" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SERVICE_URL" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SERVICE_URL" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SERVICE_URL" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_USER_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[INFORMATION_PROCESS] ([UNIQUE_NAME], [DESCRIPTION], [PROCESS_TYPE], [PROCESS_STATUS], [PROCESSING_RANK], [START_TIME], [END_TIME], [SUBSCRIBER_UNIQUE_NAME], [ORIGINATOR_UNIQUE_NAME], [PUBLISHER_UNIQUE_NAME], [RETRIEVAL_SEQ_NUM], [SERVICE_URL], [MODIFICATION_TIME], [MODIFICATION_USER_ID]) VALUES (@UNIQUE_NAME, @DESCRIPTION, @PROCESS_TYPE, @PROCESS_STATUS, @PROCESSING_RANK, @START_TIME, @END_TIME, @SUBSCRIBER_UNIQUE_NAME, @ORIGINATOR_UNIQUE_NAME, @PUBLISHER_UNIQUE_NAME, @RETRIEVAL_SEQ_NUM, @SERVICE_URL, @MODIFICATION_TIME, @MODIFICATION_USER_ID);
SELECT INFORMATION_PROCESS_ID, UNIQUE_NAME, DESCRIPTION, PROCESS_TYPE, PROCESS_STATUS, PROCESSING_RANK, START_TIME, END_TIME, SUBSCRIBER_UNIQUE_NAME, ORIGINATOR_UNIQUE_NAME, PUBLISHER_UNIQUE_NAME, RETRIEVAL_SEQ_NUM, SERVICE_URL, MODIFICATION_TIME, MODIFICATION_USER_ID FROM INFORMATION_PROCESS WHERE (INFORMATION_PROCESS_ID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@UNIQUE_NAME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="UNIQUE_NAME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@DESCRIPTION" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="DESCRIPTION" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PROCESS_TYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PROCESS_TYPE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PROCESS_STATUS" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PROCESS_STATUS" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@PROCESSING_RANK" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PROCESSING_RANK" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@START_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="START_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@END_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="END_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SUBSCRIBER_UNIQUE_NAME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SUBSCRIBER_UNIQUE_NAME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ORIGINATOR_UNIQUE_NAME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ORIGINATOR_UNIQUE_NAME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PUBLISHER_UNIQUE_NAME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PUBLISHER_UNIQUE_NAME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@RETRIEVAL_SEQ_NUM" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="RETRIEVAL_SEQ_NUM" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SERVICE_URL" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SERVICE_URL" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT INFORMATION_PROCESS_ID, UNIQUE_NAME, DESCRIPTION, PROCESS_TYPE, PROCESS_STATUS, PROCESSING_RANK, START_TIME, END_TIME, SUBSCRIBER_UNIQUE_NAME, ORIGINATOR_UNIQUE_NAME, PUBLISHER_UNIQUE_NAME, RETRIEVAL_SEQ_NUM, SERVICE_URL, MODIFICATION_TIME, MODIFICATION_USER_ID FROM dbo.INFORMATION_PROCESS</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[INFORMATION_PROCESS] SET [UNIQUE_NAME] = @UNIQUE_NAME, [DESCRIPTION] = @DESCRIPTION, [PROCESS_TYPE] = @PROCESS_TYPE, [PROCESS_STATUS] = @PROCESS_STATUS, [PROCESSING_RANK] = @PROCESSING_RANK, [START_TIME] = @START_TIME, [END_TIME] = @END_TIME, [SUBSCRIBER_UNIQUE_NAME] = @SUBSCRIBER_UNIQUE_NAME, [ORIGINATOR_UNIQUE_NAME] = @ORIGINATOR_UNIQUE_NAME, [PUBLISHER_UNIQUE_NAME] = @PUBLISHER_UNIQUE_NAME, [RETRIEVAL_SEQ_NUM] = @RETRIEVAL_SEQ_NUM, [SERVICE_URL] = @SERVICE_URL, [MODIFICATION_TIME] = @MODIFICATION_TIME, [MODIFICATION_USER_ID] = @MODIFICATION_USER_ID WHERE (([INFORMATION_PROCESS_ID] = @Original_INFORMATION_PROCESS_ID) AND ([UNIQUE_NAME] = @Original_UNIQUE_NAME) AND ((@IsNull_DESCRIPTION = 1 AND [DESCRIPTION] IS NULL) OR ([DESCRIPTION] = @Original_DESCRIPTION)) AND ((@IsNull_PROCESS_TYPE = 1 AND [PROCESS_TYPE] IS NULL) OR ([PROCESS_TYPE] = @Original_PROCESS_TYPE)) AND ((@IsNull_PROCESS_STATUS = 1 AND [PROCESS_STATUS] IS NULL) OR ([PROCESS_STATUS] = @Original_PROCESS_STATUS)) AND ((@IsNull_PROCESSING_RANK = 1 AND [PROCESSING_RANK] IS NULL) OR ([PROCESSING_RANK] = @Original_PROCESSING_RANK)) AND ((@IsNull_START_TIME = 1 AND [START_TIME] IS NULL) OR ([START_TIME] = @Original_START_TIME)) AND ((@IsNull_END_TIME = 1 AND [END_TIME] IS NULL) OR ([END_TIME] = @Original_END_TIME)) AND ((@IsNull_SUBSCRIBER_UNIQUE_NAME = 1 AND [SUBSCRIBER_UNIQUE_NAME] IS NULL) OR ([SUBSCRIBER_UNIQUE_NAME] = @Original_SUBSCRIBER_UNIQUE_NAME)) AND ((@IsNull_ORIGINATOR_UNIQUE_NAME = 1 AND [ORIGINATOR_UNIQUE_NAME] IS NULL) OR ([ORIGINATOR_UNIQUE_NAME] = @Original_ORIGINATOR_UNIQUE_NAME)) AND ((@IsNull_PUBLISHER_UNIQUE_NAME = 1 AND [PUBLISHER_UNIQUE_NAME] IS NULL) OR ([PUBLISHER_UNIQUE_NAME] = @Original_PUBLISHER_UNIQUE_NAME)) AND ((@IsNull_RETRIEVAL_SEQ_NUM = 1 AND [RETRIEVAL_SEQ_NUM] IS NULL) OR ([RETRIEVAL_SEQ_NUM] = @Original_RETRIEVAL_SEQ_NUM)) AND ((@IsNull_SERVICE_URL = 1 AND [SERVICE_URL] IS NULL) OR ([SERVICE_URL] = @Original_SERVICE_URL)) AND ((@IsNull_MODIFICATION_TIME = 1 AND [MODIFICATION_TIME] IS NULL) OR ([MODIFICATION_TIME] = @Original_MODIFICATION_TIME)) AND ((@IsNull_MODIFICATION_USER_ID = 1 AND [MODIFICATION_USER_ID] IS NULL) OR ([MODIFICATION_USER_ID] = @Original_MODIFICATION_USER_ID)));
SELECT INFORMATION_PROCESS_ID, UNIQUE_NAME, DESCRIPTION, PROCESS_TYPE, PROCESS_STATUS, PROCESSING_RANK, START_TIME, END_TIME, SUBSCRIBER_UNIQUE_NAME, ORIGINATOR_UNIQUE_NAME, PUBLISHER_UNIQUE_NAME, RETRIEVAL_SEQ_NUM, SERVICE_URL, MODIFICATION_TIME, MODIFICATION_USER_ID FROM INFORMATION_PROCESS WHERE (INFORMATION_PROCESS_ID = @INFORMATION_PROCESS_ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@UNIQUE_NAME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="UNIQUE_NAME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@DESCRIPTION" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="DESCRIPTION" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PROCESS_TYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PROCESS_TYPE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PROCESS_STATUS" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PROCESS_STATUS" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@PROCESSING_RANK" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PROCESSING_RANK" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@START_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="START_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@END_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="END_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SUBSCRIBER_UNIQUE_NAME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SUBSCRIBER_UNIQUE_NAME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ORIGINATOR_UNIQUE_NAME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ORIGINATOR_UNIQUE_NAME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PUBLISHER_UNIQUE_NAME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PUBLISHER_UNIQUE_NAME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@RETRIEVAL_SEQ_NUM" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="RETRIEVAL_SEQ_NUM" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SERVICE_URL" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SERVICE_URL" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_INFORMATION_PROCESS_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="INFORMATION_PROCESS_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_UNIQUE_NAME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="UNIQUE_NAME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DESCRIPTION" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DESCRIPTION" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_DESCRIPTION" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="DESCRIPTION" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PROCESS_TYPE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PROCESS_TYPE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PROCESS_TYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PROCESS_TYPE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PROCESS_STATUS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PROCESS_STATUS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PROCESS_STATUS" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PROCESS_STATUS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PROCESSING_RANK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PROCESSING_RANK" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_PROCESSING_RANK" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PROCESSING_RANK" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_START_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="START_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_START_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="START_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_END_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="END_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_END_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="END_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SUBSCRIBER_UNIQUE_NAME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SUBSCRIBER_UNIQUE_NAME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SUBSCRIBER_UNIQUE_NAME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SUBSCRIBER_UNIQUE_NAME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ORIGINATOR_UNIQUE_NAME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ORIGINATOR_UNIQUE_NAME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ORIGINATOR_UNIQUE_NAME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ORIGINATOR_UNIQUE_NAME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PUBLISHER_UNIQUE_NAME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PUBLISHER_UNIQUE_NAME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PUBLISHER_UNIQUE_NAME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PUBLISHER_UNIQUE_NAME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_RETRIEVAL_SEQ_NUM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RETRIEVAL_SEQ_NUM" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_RETRIEVAL_SEQ_NUM" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="RETRIEVAL_SEQ_NUM" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SERVICE_URL" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SERVICE_URL" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_SERVICE_URL" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SERVICE_URL" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_USER_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="INFORMATION_PROCESS_ID" ColumnName="INFORMATION_PROCESS_ID" DataSourceName="AGNIS_FORMS.dbo.INFORMATION_PROCESS" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@INFORMATION_PROCESS_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="INFORMATION_PROCESS_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="INFORMATION_PROCESS_ID" DataSetColumn="INFORMATION_PROCESS_ID" />
              <Mapping SourceColumn="UNIQUE_NAME" DataSetColumn="UNIQUE_NAME" />
              <Mapping SourceColumn="DESCRIPTION" DataSetColumn="DESCRIPTION" />
              <Mapping SourceColumn="PROCESS_TYPE" DataSetColumn="PROCESS_TYPE" />
              <Mapping SourceColumn="PROCESS_STATUS" DataSetColumn="PROCESS_STATUS" />
              <Mapping SourceColumn="PROCESSING_RANK" DataSetColumn="PROCESSING_RANK" />
              <Mapping SourceColumn="START_TIME" DataSetColumn="START_TIME" />
              <Mapping SourceColumn="END_TIME" DataSetColumn="END_TIME" />
              <Mapping SourceColumn="SUBSCRIBER_UNIQUE_NAME" DataSetColumn="SUBSCRIBER_UNIQUE_NAME" />
              <Mapping SourceColumn="ORIGINATOR_UNIQUE_NAME" DataSetColumn="ORIGINATOR_UNIQUE_NAME" />
              <Mapping SourceColumn="PUBLISHER_UNIQUE_NAME" DataSetColumn="PUBLISHER_UNIQUE_NAME" />
              <Mapping SourceColumn="RETRIEVAL_SEQ_NUM" DataSetColumn="RETRIEVAL_SEQ_NUM" />
              <Mapping SourceColumn="SERVICE_URL" DataSetColumn="SERVICE_URL" />
              <Mapping SourceColumn="MODIFICATION_TIME" DataSetColumn="MODIFICATION_TIME" />
              <Mapping SourceColumn="MODIFICATION_USER_ID" DataSetColumn="MODIFICATION_USER_ID" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="INSTITUTIONTableAdapter" GeneratorDataComponentClassName="INSTITUTIONTableAdapter" Name="INSTITUTION" UserDataComponentName="INSTITUTIONTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AGNIS_FORMSConnectionString (Settings)" DbObjectName="AGNIS_FORMS.dbo.INSTITUTION" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[INSTITUTION] WHERE (([INSTITUTION_ID] = @Original_INSTITUTION_ID) AND ([UNIQUE_NAME] = @Original_UNIQUE_NAME) AND ((@IsNull_CURRENT_RETRIEVAL_SEQ_NUM = 1 AND [CURRENT_RETRIEVAL_SEQ_NUM] IS NULL) OR ([CURRENT_RETRIEVAL_SEQ_NUM] = @Original_CURRENT_RETRIEVAL_SEQ_NUM)) AND ((@IsNull_MODIFICATION_TIME = 1 AND [MODIFICATION_TIME] IS NULL) OR ([MODIFICATION_TIME] = @Original_MODIFICATION_TIME)) AND ((@IsNull_MODIFICATION_USER_ID = 1 AND [MODIFICATION_USER_ID] IS NULL) OR ([MODIFICATION_USER_ID] = @Original_MODIFICATION_USER_ID)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_INSTITUTION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="INSTITUTION_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_UNIQUE_NAME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="UNIQUE_NAME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CURRENT_RETRIEVAL_SEQ_NUM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CURRENT_RETRIEVAL_SEQ_NUM" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_CURRENT_RETRIEVAL_SEQ_NUM" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CURRENT_RETRIEVAL_SEQ_NUM" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_USER_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[INSTITUTION] ([UNIQUE_NAME], [CURRENT_RETRIEVAL_SEQ_NUM], [MODIFICATION_TIME], [MODIFICATION_USER_ID]) VALUES (@UNIQUE_NAME, @CURRENT_RETRIEVAL_SEQ_NUM, @MODIFICATION_TIME, @MODIFICATION_USER_ID);
SELECT INSTITUTION_ID, UNIQUE_NAME, CURRENT_RETRIEVAL_SEQ_NUM, MODIFICATION_TIME, MODIFICATION_USER_ID FROM INSTITUTION WHERE (INSTITUTION_ID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@UNIQUE_NAME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="UNIQUE_NAME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@CURRENT_RETRIEVAL_SEQ_NUM" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CURRENT_RETRIEVAL_SEQ_NUM" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT INSTITUTION_ID, UNIQUE_NAME, CURRENT_RETRIEVAL_SEQ_NUM, MODIFICATION_TIME, MODIFICATION_USER_ID FROM dbo.INSTITUTION</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[INSTITUTION] SET [UNIQUE_NAME] = @UNIQUE_NAME, [CURRENT_RETRIEVAL_SEQ_NUM] = @CURRENT_RETRIEVAL_SEQ_NUM, [MODIFICATION_TIME] = @MODIFICATION_TIME, [MODIFICATION_USER_ID] = @MODIFICATION_USER_ID WHERE (([INSTITUTION_ID] = @Original_INSTITUTION_ID) AND ([UNIQUE_NAME] = @Original_UNIQUE_NAME) AND ((@IsNull_CURRENT_RETRIEVAL_SEQ_NUM = 1 AND [CURRENT_RETRIEVAL_SEQ_NUM] IS NULL) OR ([CURRENT_RETRIEVAL_SEQ_NUM] = @Original_CURRENT_RETRIEVAL_SEQ_NUM)) AND ((@IsNull_MODIFICATION_TIME = 1 AND [MODIFICATION_TIME] IS NULL) OR ([MODIFICATION_TIME] = @Original_MODIFICATION_TIME)) AND ((@IsNull_MODIFICATION_USER_ID = 1 AND [MODIFICATION_USER_ID] IS NULL) OR ([MODIFICATION_USER_ID] = @Original_MODIFICATION_USER_ID)));
SELECT INSTITUTION_ID, UNIQUE_NAME, CURRENT_RETRIEVAL_SEQ_NUM, MODIFICATION_TIME, MODIFICATION_USER_ID FROM INSTITUTION WHERE (INSTITUTION_ID = @INSTITUTION_ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@UNIQUE_NAME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="UNIQUE_NAME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@CURRENT_RETRIEVAL_SEQ_NUM" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CURRENT_RETRIEVAL_SEQ_NUM" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_INSTITUTION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="INSTITUTION_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_UNIQUE_NAME" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="UNIQUE_NAME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CURRENT_RETRIEVAL_SEQ_NUM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CURRENT_RETRIEVAL_SEQ_NUM" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_CURRENT_RETRIEVAL_SEQ_NUM" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="CURRENT_RETRIEVAL_SEQ_NUM" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_USER_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="INSTITUTION_ID" ColumnName="INSTITUTION_ID" DataSourceName="AGNIS_FORMS.dbo.INSTITUTION" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@INSTITUTION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="INSTITUTION_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="INSTITUTION_ID" DataSetColumn="INSTITUTION_ID" />
              <Mapping SourceColumn="UNIQUE_NAME" DataSetColumn="UNIQUE_NAME" />
              <Mapping SourceColumn="CURRENT_RETRIEVAL_SEQ_NUM" DataSetColumn="CURRENT_RETRIEVAL_SEQ_NUM" />
              <Mapping SourceColumn="MODIFICATION_TIME" DataSetColumn="MODIFICATION_TIME" />
              <Mapping SourceColumn="MODIFICATION_USER_ID" DataSetColumn="MODIFICATION_USER_ID" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="MODULETableAdapter" GeneratorDataComponentClassName="MODULETableAdapter" Name="MODULE" UserDataComponentName="MODULETableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AGNIS_FORMSConnectionString (Settings)" DbObjectName="AGNIS_FORMS.dbo.MODULE" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[MODULE] WHERE (([MODULE_ID] = @Original_MODULE_ID) AND ([FORM_REVISION_ID] = @Original_FORM_REVISION_ID) AND ((@IsNull_PUBLIC_ID = 1 AND [PUBLIC_ID] IS NULL) OR ([PUBLIC_ID] = @Original_PUBLIC_ID)) AND ((@IsNull_VERSION = 1 AND [VERSION] IS NULL) OR ([VERSION] = @Original_VERSION)) AND ((@IsNull_ALTERNATE_METADATA_TYPE = 1 AND [ALTERNATE_METADATA_TYPE] IS NULL) OR ([ALTERNATE_METADATA_TYPE] = @Original_ALTERNATE_METADATA_TYPE)) AND ((@IsNull_ALTERNATE_METADATA_ID = 1 AND [ALTERNATE_METADATA_ID] IS NULL) OR ([ALTERNATE_METADATA_ID] = @Original_ALTERNATE_METADATA_ID)) AND ([REPEAT_SEQUENCE_NUMBER] = @Original_REPEAT_SEQUENCE_NUMBER) AND ((@IsNull_MODIFICATION_TIME = 1 AND [MODIFICATION_TIME] IS NULL) OR ([MODIFICATION_TIME] = @Original_MODIFICATION_TIME)) AND ((@IsNull_MODIFICATION_USER_ID = 1 AND [MODIFICATION_USER_ID] IS NULL) OR ([MODIFICATION_USER_ID] = @Original_MODIFICATION_USER_ID)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_MODULE_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="MODULE_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_FORM_REVISION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="FORM_REVISION_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PUBLIC_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PUBLIC_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_PUBLIC_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PUBLIC_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_VERSION" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VERSION" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VERSION" Precision="4" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VERSION" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ALTERNATE_METADATA_TYPE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_TYPE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ALTERNATE_METADATA_TYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_TYPE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ALTERNATE_METADATA_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ALTERNATE_METADATA_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_REPEAT_SEQUENCE_NUMBER" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="REPEAT_SEQUENCE_NUMBER" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_USER_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[MODULE] ([FORM_REVISION_ID], [PUBLIC_ID], [VERSION], [ALTERNATE_METADATA_TYPE], [ALTERNATE_METADATA_ID], [REPEAT_SEQUENCE_NUMBER], [MODIFICATION_TIME], [MODIFICATION_USER_ID]) VALUES (@FORM_REVISION_ID, @PUBLIC_ID, @VERSION, @ALTERNATE_METADATA_TYPE, @ALTERNATE_METADATA_ID, @REPEAT_SEQUENCE_NUMBER, @MODIFICATION_TIME, @MODIFICATION_USER_ID);
SELECT MODULE_ID, FORM_REVISION_ID, PUBLIC_ID, VERSION, ALTERNATE_METADATA_TYPE, ALTERNATE_METADATA_ID, REPEAT_SEQUENCE_NUMBER, MODIFICATION_TIME, MODIFICATION_USER_ID FROM MODULE WHERE (MODULE_ID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@FORM_REVISION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="FORM_REVISION_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@PUBLIC_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PUBLIC_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VERSION" Precision="4" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VERSION" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ALTERNATE_METADATA_TYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_TYPE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ALTERNATE_METADATA_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@REPEAT_SEQUENCE_NUMBER" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="REPEAT_SEQUENCE_NUMBER" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT MODULE_ID, FORM_REVISION_ID, PUBLIC_ID, VERSION, ALTERNATE_METADATA_TYPE, ALTERNATE_METADATA_ID, REPEAT_SEQUENCE_NUMBER, MODIFICATION_TIME, MODIFICATION_USER_ID FROM dbo.MODULE</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[MODULE] SET [FORM_REVISION_ID] = @FORM_REVISION_ID, [PUBLIC_ID] = @PUBLIC_ID, [VERSION] = @VERSION, [ALTERNATE_METADATA_TYPE] = @ALTERNATE_METADATA_TYPE, [ALTERNATE_METADATA_ID] = @ALTERNATE_METADATA_ID, [REPEAT_SEQUENCE_NUMBER] = @REPEAT_SEQUENCE_NUMBER, [MODIFICATION_TIME] = @MODIFICATION_TIME, [MODIFICATION_USER_ID] = @MODIFICATION_USER_ID WHERE (([MODULE_ID] = @Original_MODULE_ID) AND ([FORM_REVISION_ID] = @Original_FORM_REVISION_ID) AND ((@IsNull_PUBLIC_ID = 1 AND [PUBLIC_ID] IS NULL) OR ([PUBLIC_ID] = @Original_PUBLIC_ID)) AND ((@IsNull_VERSION = 1 AND [VERSION] IS NULL) OR ([VERSION] = @Original_VERSION)) AND ((@IsNull_ALTERNATE_METADATA_TYPE = 1 AND [ALTERNATE_METADATA_TYPE] IS NULL) OR ([ALTERNATE_METADATA_TYPE] = @Original_ALTERNATE_METADATA_TYPE)) AND ((@IsNull_ALTERNATE_METADATA_ID = 1 AND [ALTERNATE_METADATA_ID] IS NULL) OR ([ALTERNATE_METADATA_ID] = @Original_ALTERNATE_METADATA_ID)) AND ([REPEAT_SEQUENCE_NUMBER] = @Original_REPEAT_SEQUENCE_NUMBER) AND ((@IsNull_MODIFICATION_TIME = 1 AND [MODIFICATION_TIME] IS NULL) OR ([MODIFICATION_TIME] = @Original_MODIFICATION_TIME)) AND ((@IsNull_MODIFICATION_USER_ID = 1 AND [MODIFICATION_USER_ID] IS NULL) OR ([MODIFICATION_USER_ID] = @Original_MODIFICATION_USER_ID)));
SELECT MODULE_ID, FORM_REVISION_ID, PUBLIC_ID, VERSION, ALTERNATE_METADATA_TYPE, ALTERNATE_METADATA_ID, REPEAT_SEQUENCE_NUMBER, MODIFICATION_TIME, MODIFICATION_USER_ID FROM MODULE WHERE (MODULE_ID = @MODULE_ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@FORM_REVISION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="FORM_REVISION_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@PUBLIC_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PUBLIC_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VERSION" Precision="4" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VERSION" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ALTERNATE_METADATA_TYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_TYPE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ALTERNATE_METADATA_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@REPEAT_SEQUENCE_NUMBER" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="REPEAT_SEQUENCE_NUMBER" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_MODULE_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="MODULE_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_FORM_REVISION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="FORM_REVISION_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PUBLIC_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PUBLIC_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_PUBLIC_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PUBLIC_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_VERSION" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VERSION" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VERSION" Precision="4" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VERSION" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ALTERNATE_METADATA_TYPE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_TYPE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ALTERNATE_METADATA_TYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_TYPE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ALTERNATE_METADATA_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ALTERNATE_METADATA_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_REPEAT_SEQUENCE_NUMBER" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="REPEAT_SEQUENCE_NUMBER" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_USER_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="MODULE_ID" ColumnName="MODULE_ID" DataSourceName="AGNIS_FORMS.dbo.MODULE" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@MODULE_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="MODULE_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="MODULE_ID" DataSetColumn="MODULE_ID" />
              <Mapping SourceColumn="FORM_REVISION_ID" DataSetColumn="FORM_REVISION_ID" />
              <Mapping SourceColumn="PUBLIC_ID" DataSetColumn="PUBLIC_ID" />
              <Mapping SourceColumn="VERSION" DataSetColumn="VERSION" />
              <Mapping SourceColumn="ALTERNATE_METADATA_TYPE" DataSetColumn="ALTERNATE_METADATA_TYPE" />
              <Mapping SourceColumn="ALTERNATE_METADATA_ID" DataSetColumn="ALTERNATE_METADATA_ID" />
              <Mapping SourceColumn="REPEAT_SEQUENCE_NUMBER" DataSetColumn="REPEAT_SEQUENCE_NUMBER" />
              <Mapping SourceColumn="MODIFICATION_TIME" DataSetColumn="MODIFICATION_TIME" />
              <Mapping SourceColumn="MODIFICATION_USER_ID" DataSetColumn="MODIFICATION_USER_ID" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PROCESSING_STATUSTableAdapter" GeneratorDataComponentClassName="PROCESSING_STATUSTableAdapter" Name="PROCESSING_STATUS" UserDataComponentName="PROCESSING_STATUSTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AGNIS_FORMSConnectionString (Settings)" DbObjectName="AGNIS_FORMS.dbo.PROCESSING_STATUS" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[PROCESSING_STATUS] WHERE (([PROCESSING_STATUS_ID] = @Original_PROCESSING_STATUS_ID) AND ([INFORMATION_PROCESS_ID] = @Original_INFORMATION_PROCESS_ID) AND ((@IsNull_FORM_REVISION_ID = 1 AND [FORM_REVISION_ID] IS NULL) OR ([FORM_REVISION_ID] = @Original_FORM_REVISION_ID)) AND ((@IsNull_PARENT_PROCESSING_STATUS_ID = 1 AND [PARENT_PROCESSING_STATUS_ID] IS NULL) OR ([PARENT_PROCESSING_STATUS_ID] = @Original_PARENT_PROCESSING_STATUS_ID)) AND ((@IsNull_PROCESSING_RANK = 1 AND [PROCESSING_RANK] IS NULL) OR ([PROCESSING_RANK] = @Original_PROCESSING_RANK)) AND ((@IsNull_ATTEMPT_NUMBER = 1 AND [ATTEMPT_NUMBER] IS NULL) OR ([ATTEMPT_NUMBER] = @Original_ATTEMPT_NUMBER)) AND ((@IsNull_OUTPUT_FORM_REVISION_ID = 1 AND [OUTPUT_FORM_REVISION_ID] IS NULL) OR ([OUTPUT_FORM_REVISION_ID] = @Original_OUTPUT_FORM_REVISION_ID)) AND ([VALUE] = @Original_VALUE) AND ((@IsNull_START_TIME = 1 AND [START_TIME] IS NULL) OR ([START_TIME] = @Original_START_TIME)) AND ((@IsNull_END_TIME = 1 AND [END_TIME] IS NULL) OR ([END_TIME] = @Original_END_TIME)) AND ((@IsNull_NOTE = 1 AND [NOTE] IS NULL) OR ([NOTE] = @Original_NOTE)) AND ((@IsNull_MODIFICATION_TIME = 1 AND [MODIFICATION_TIME] IS NULL) OR ([MODIFICATION_TIME] = @Original_MODIFICATION_TIME)) AND ((@IsNull_MODIFICATION_USER_ID = 1 AND [MODIFICATION_USER_ID] IS NULL) OR ([MODIFICATION_USER_ID] = @Original_MODIFICATION_USER_ID)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_PROCESSING_STATUS_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PROCESSING_STATUS_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_INFORMATION_PROCESS_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="INFORMATION_PROCESS_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_FORM_REVISION_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FORM_REVISION_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_FORM_REVISION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="FORM_REVISION_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PARENT_PROCESSING_STATUS_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PARENT_PROCESSING_STATUS_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_PARENT_PROCESSING_STATUS_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PARENT_PROCESSING_STATUS_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PROCESSING_RANK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PROCESSING_RANK" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_PROCESSING_RANK" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PROCESSING_RANK" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ATTEMPT_NUMBER" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ATTEMPT_NUMBER" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ATTEMPT_NUMBER" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ATTEMPT_NUMBER" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_OUTPUT_FORM_REVISION_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OUTPUT_FORM_REVISION_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_OUTPUT_FORM_REVISION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="OUTPUT_FORM_REVISION_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_VALUE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VALUE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_START_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="START_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_START_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="START_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_END_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="END_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_END_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="END_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_NOTE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NOTE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_NOTE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="NOTE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_USER_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[PROCESSING_STATUS] ([INFORMATION_PROCESS_ID], [FORM_REVISION_ID], [PARENT_PROCESSING_STATUS_ID], [PROCESSING_RANK], [ATTEMPT_NUMBER], [OUTPUT_FORM_REVISION_ID], [VALUE], [START_TIME], [END_TIME], [NOTE], [MODIFICATION_TIME], [MODIFICATION_USER_ID]) VALUES (@INFORMATION_PROCESS_ID, @FORM_REVISION_ID, @PARENT_PROCESSING_STATUS_ID, @PROCESSING_RANK, @ATTEMPT_NUMBER, @OUTPUT_FORM_REVISION_ID, @VALUE, @START_TIME, @END_TIME, @NOTE, @MODIFICATION_TIME, @MODIFICATION_USER_ID);
SELECT PROCESSING_STATUS_ID, INFORMATION_PROCESS_ID, FORM_REVISION_ID, PARENT_PROCESSING_STATUS_ID, PROCESSING_RANK, ATTEMPT_NUMBER, OUTPUT_FORM_REVISION_ID, VALUE, START_TIME, END_TIME, NOTE, MODIFICATION_TIME, MODIFICATION_USER_ID FROM PROCESSING_STATUS WHERE (PROCESSING_STATUS_ID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@INFORMATION_PROCESS_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="INFORMATION_PROCESS_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@FORM_REVISION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="FORM_REVISION_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@PARENT_PROCESSING_STATUS_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PARENT_PROCESSING_STATUS_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@PROCESSING_RANK" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PROCESSING_RANK" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@ATTEMPT_NUMBER" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ATTEMPT_NUMBER" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@OUTPUT_FORM_REVISION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="OUTPUT_FORM_REVISION_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@VALUE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VALUE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@START_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="START_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@END_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="END_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@NOTE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="NOTE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT PROCESSING_STATUS_ID, INFORMATION_PROCESS_ID, FORM_REVISION_ID, PARENT_PROCESSING_STATUS_ID, PROCESSING_RANK, ATTEMPT_NUMBER, OUTPUT_FORM_REVISION_ID, VALUE, START_TIME, END_TIME, NOTE, MODIFICATION_TIME, MODIFICATION_USER_ID FROM dbo.PROCESSING_STATUS</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[PROCESSING_STATUS] SET [INFORMATION_PROCESS_ID] = @INFORMATION_PROCESS_ID, [FORM_REVISION_ID] = @FORM_REVISION_ID, [PARENT_PROCESSING_STATUS_ID] = @PARENT_PROCESSING_STATUS_ID, [PROCESSING_RANK] = @PROCESSING_RANK, [ATTEMPT_NUMBER] = @ATTEMPT_NUMBER, [OUTPUT_FORM_REVISION_ID] = @OUTPUT_FORM_REVISION_ID, [VALUE] = @VALUE, [START_TIME] = @START_TIME, [END_TIME] = @END_TIME, [NOTE] = @NOTE, [MODIFICATION_TIME] = @MODIFICATION_TIME, [MODIFICATION_USER_ID] = @MODIFICATION_USER_ID WHERE (([PROCESSING_STATUS_ID] = @Original_PROCESSING_STATUS_ID) AND ([INFORMATION_PROCESS_ID] = @Original_INFORMATION_PROCESS_ID) AND ((@IsNull_FORM_REVISION_ID = 1 AND [FORM_REVISION_ID] IS NULL) OR ([FORM_REVISION_ID] = @Original_FORM_REVISION_ID)) AND ((@IsNull_PARENT_PROCESSING_STATUS_ID = 1 AND [PARENT_PROCESSING_STATUS_ID] IS NULL) OR ([PARENT_PROCESSING_STATUS_ID] = @Original_PARENT_PROCESSING_STATUS_ID)) AND ((@IsNull_PROCESSING_RANK = 1 AND [PROCESSING_RANK] IS NULL) OR ([PROCESSING_RANK] = @Original_PROCESSING_RANK)) AND ((@IsNull_ATTEMPT_NUMBER = 1 AND [ATTEMPT_NUMBER] IS NULL) OR ([ATTEMPT_NUMBER] = @Original_ATTEMPT_NUMBER)) AND ((@IsNull_OUTPUT_FORM_REVISION_ID = 1 AND [OUTPUT_FORM_REVISION_ID] IS NULL) OR ([OUTPUT_FORM_REVISION_ID] = @Original_OUTPUT_FORM_REVISION_ID)) AND ([VALUE] = @Original_VALUE) AND ((@IsNull_START_TIME = 1 AND [START_TIME] IS NULL) OR ([START_TIME] = @Original_START_TIME)) AND ((@IsNull_END_TIME = 1 AND [END_TIME] IS NULL) OR ([END_TIME] = @Original_END_TIME)) AND ((@IsNull_NOTE = 1 AND [NOTE] IS NULL) OR ([NOTE] = @Original_NOTE)) AND ((@IsNull_MODIFICATION_TIME = 1 AND [MODIFICATION_TIME] IS NULL) OR ([MODIFICATION_TIME] = @Original_MODIFICATION_TIME)) AND ((@IsNull_MODIFICATION_USER_ID = 1 AND [MODIFICATION_USER_ID] IS NULL) OR ([MODIFICATION_USER_ID] = @Original_MODIFICATION_USER_ID)));
SELECT PROCESSING_STATUS_ID, INFORMATION_PROCESS_ID, FORM_REVISION_ID, PARENT_PROCESSING_STATUS_ID, PROCESSING_RANK, ATTEMPT_NUMBER, OUTPUT_FORM_REVISION_ID, VALUE, START_TIME, END_TIME, NOTE, MODIFICATION_TIME, MODIFICATION_USER_ID FROM PROCESSING_STATUS WHERE (PROCESSING_STATUS_ID = @PROCESSING_STATUS_ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@INFORMATION_PROCESS_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="INFORMATION_PROCESS_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@FORM_REVISION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="FORM_REVISION_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@PARENT_PROCESSING_STATUS_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PARENT_PROCESSING_STATUS_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@PROCESSING_RANK" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PROCESSING_RANK" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@ATTEMPT_NUMBER" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ATTEMPT_NUMBER" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@OUTPUT_FORM_REVISION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="OUTPUT_FORM_REVISION_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@VALUE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VALUE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@START_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="START_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@END_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="END_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@NOTE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="NOTE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_PROCESSING_STATUS_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PROCESSING_STATUS_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_INFORMATION_PROCESS_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="INFORMATION_PROCESS_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_FORM_REVISION_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FORM_REVISION_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_FORM_REVISION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="FORM_REVISION_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PARENT_PROCESSING_STATUS_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PARENT_PROCESSING_STATUS_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_PARENT_PROCESSING_STATUS_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PARENT_PROCESSING_STATUS_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PROCESSING_RANK" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PROCESSING_RANK" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_PROCESSING_RANK" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="PROCESSING_RANK" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ATTEMPT_NUMBER" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ATTEMPT_NUMBER" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_ATTEMPT_NUMBER" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="ATTEMPT_NUMBER" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_OUTPUT_FORM_REVISION_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OUTPUT_FORM_REVISION_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_OUTPUT_FORM_REVISION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="OUTPUT_FORM_REVISION_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_VALUE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VALUE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_START_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="START_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_START_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="START_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_END_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="END_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_END_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="END_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_NOTE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NOTE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_NOTE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="NOTE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_USER_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="PROCESSING_STATUS_ID" ColumnName="PROCESSING_STATUS_ID" DataSourceName="AGNIS_FORMS.dbo.PROCESSING_STATUS" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@PROCESSING_STATUS_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="PROCESSING_STATUS_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="PROCESSING_STATUS_ID" DataSetColumn="PROCESSING_STATUS_ID" />
              <Mapping SourceColumn="INFORMATION_PROCESS_ID" DataSetColumn="INFORMATION_PROCESS_ID" />
              <Mapping SourceColumn="FORM_REVISION_ID" DataSetColumn="FORM_REVISION_ID" />
              <Mapping SourceColumn="PARENT_PROCESSING_STATUS_ID" DataSetColumn="PARENT_PROCESSING_STATUS_ID" />
              <Mapping SourceColumn="PROCESSING_RANK" DataSetColumn="PROCESSING_RANK" />
              <Mapping SourceColumn="ATTEMPT_NUMBER" DataSetColumn="ATTEMPT_NUMBER" />
              <Mapping SourceColumn="OUTPUT_FORM_REVISION_ID" DataSetColumn="OUTPUT_FORM_REVISION_ID" />
              <Mapping SourceColumn="VALUE" DataSetColumn="VALUE" />
              <Mapping SourceColumn="START_TIME" DataSetColumn="START_TIME" />
              <Mapping SourceColumn="END_TIME" DataSetColumn="END_TIME" />
              <Mapping SourceColumn="NOTE" DataSetColumn="NOTE" />
              <Mapping SourceColumn="MODIFICATION_TIME" DataSetColumn="MODIFICATION_TIME" />
              <Mapping SourceColumn="MODIFICATION_USER_ID" DataSetColumn="MODIFICATION_USER_ID" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="QUESTIONTableAdapter" GeneratorDataComponentClassName="QUESTIONTableAdapter" Name="QUESTION" UserDataComponentName="QUESTIONTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AGNIS_FORMSConnectionString (Settings)" DbObjectName="AGNIS_FORMS.dbo.QUESTION" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[QUESTION] WHERE (([QUESTION_ID] = @Original_QUESTION_ID) AND ([MODULE_ID] = @Original_MODULE_ID) AND ((@IsNull_DATA_ELEMENT_PUBLIC_ID = 1 AND [DATA_ELEMENT_PUBLIC_ID] IS NULL) OR ([DATA_ELEMENT_PUBLIC_ID] = @Original_DATA_ELEMENT_PUBLIC_ID)) AND ((@IsNull_DATA_ELEMENT_VERSION = 1 AND [DATA_ELEMENT_VERSION] IS NULL) OR ([DATA_ELEMENT_VERSION] = @Original_DATA_ELEMENT_VERSION)) AND ((@IsNull_ALTERNATE_METADATA_TYPE = 1 AND [ALTERNATE_METADATA_TYPE] IS NULL) OR ([ALTERNATE_METADATA_TYPE] = @Original_ALTERNATE_METADATA_TYPE)) AND ((@IsNull_ALTERNATE_METADATA_ID = 1 AND [ALTERNATE_METADATA_ID] IS NULL) OR ([ALTERNATE_METADATA_ID] = @Original_ALTERNATE_METADATA_ID)) AND ((@IsNull_VALUE = 1 AND [VALUE] IS NULL) OR ([VALUE] = @Original_VALUE)) AND ((@IsNull_ALTERNATE_VALUE = 1 AND [ALTERNATE_VALUE] IS NULL) OR ([ALTERNATE_VALUE] = @Original_ALTERNATE_VALUE)) AND ((@IsNull_ERROR_EXCEPTION = 1 AND [ERROR_EXCEPTION] IS NULL) OR ([ERROR_EXCEPTION] = @Original_ERROR_EXCEPTION)) AND ((@IsNull_DELETE_FLAG = 1 AND [DELETE_FLAG] IS NULL) OR ([DELETE_FLAG] = @Original_DELETE_FLAG)) AND ((@IsNull_VALUE_MEANING_PUBLIC_ID = 1 AND [VALUE_MEANING_PUBLIC_ID] IS NULL) OR ([VALUE_MEANING_PUBLIC_ID] = @Original_VALUE_MEANING_PUBLIC_ID)) AND ((@IsNull_VALUE_MEANING_VERSION = 1 AND [VALUE_MEANING_VERSION] IS NULL) OR ([VALUE_MEANING_VERSION] = @Original_VALUE_MEANING_VERSION)) AND ((@IsNull_MODIFICATION_TIME = 1 AND [MODIFICATION_TIME] IS NULL) OR ([MODIFICATION_TIME] = @Original_MODIFICATION_TIME)) AND ((@IsNull_MODIFICATION_USER_ID = 1 AND [MODIFICATION_USER_ID] IS NULL) OR ([MODIFICATION_USER_ID] = @Original_MODIFICATION_USER_ID)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_QUESTION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="QUESTION_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_MODULE_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="MODULE_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DATA_ELEMENT_PUBLIC_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DATA_ELEMENT_PUBLIC_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_DATA_ELEMENT_PUBLIC_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="DATA_ELEMENT_PUBLIC_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DATA_ELEMENT_VERSION" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DATA_ELEMENT_VERSION" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_DATA_ELEMENT_VERSION" Precision="4" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DATA_ELEMENT_VERSION" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ALTERNATE_METADATA_TYPE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_TYPE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ALTERNATE_METADATA_TYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_TYPE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ALTERNATE_METADATA_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ALTERNATE_METADATA_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_VALUE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VALUE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_VALUE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VALUE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ALTERNATE_VALUE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ALTERNATE_VALUE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ALTERNATE_VALUE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_VALUE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ERROR_EXCEPTION" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ERROR_EXCEPTION" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ERROR_EXCEPTION" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ERROR_EXCEPTION" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DELETE_FLAG" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DELETE_FLAG" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_DELETE_FLAG" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="DELETE_FLAG" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_VALUE_MEANING_PUBLIC_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VALUE_MEANING_PUBLIC_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_VALUE_MEANING_PUBLIC_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="VALUE_MEANING_PUBLIC_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_VALUE_MEANING_VERSION" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VALUE_MEANING_VERSION" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VALUE_MEANING_VERSION" Precision="4" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VALUE_MEANING_VERSION" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_USER_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[QUESTION] ([MODULE_ID], [DATA_ELEMENT_PUBLIC_ID], [DATA_ELEMENT_VERSION], [ALTERNATE_METADATA_TYPE], [ALTERNATE_METADATA_ID], [VALUE], [ALTERNATE_VALUE], [ERROR_EXCEPTION], [DELETE_FLAG], [VALUE_MEANING_PUBLIC_ID], [VALUE_MEANING_VERSION], [MODIFICATION_TIME], [MODIFICATION_USER_ID]) VALUES (@MODULE_ID, @DATA_ELEMENT_PUBLIC_ID, @DATA_ELEMENT_VERSION, @ALTERNATE_METADATA_TYPE, @ALTERNATE_METADATA_ID, @VALUE, @ALTERNATE_VALUE, @ERROR_EXCEPTION, @DELETE_FLAG, @VALUE_MEANING_PUBLIC_ID, @VALUE_MEANING_VERSION, @MODIFICATION_TIME, @MODIFICATION_USER_ID);
SELECT QUESTION_ID, MODULE_ID, DATA_ELEMENT_PUBLIC_ID, DATA_ELEMENT_VERSION, ALTERNATE_METADATA_TYPE, ALTERNATE_METADATA_ID, VALUE, ALTERNATE_VALUE, ERROR_EXCEPTION, DELETE_FLAG, VALUE_MEANING_PUBLIC_ID, VALUE_MEANING_VERSION, MODIFICATION_TIME, MODIFICATION_USER_ID FROM QUESTION WHERE (QUESTION_ID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@MODULE_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="MODULE_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@DATA_ELEMENT_PUBLIC_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="DATA_ELEMENT_PUBLIC_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@DATA_ELEMENT_VERSION" Precision="4" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DATA_ELEMENT_VERSION" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ALTERNATE_METADATA_TYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_TYPE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ALTERNATE_METADATA_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@VALUE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VALUE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ALTERNATE_VALUE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_VALUE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ERROR_EXCEPTION" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ERROR_EXCEPTION" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@DELETE_FLAG" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="DELETE_FLAG" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@VALUE_MEANING_PUBLIC_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="VALUE_MEANING_PUBLIC_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VALUE_MEANING_VERSION" Precision="4" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VALUE_MEANING_VERSION" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT QUESTION_ID, MODULE_ID, DATA_ELEMENT_PUBLIC_ID, DATA_ELEMENT_VERSION, ALTERNATE_METADATA_TYPE, ALTERNATE_METADATA_ID, VALUE, ALTERNATE_VALUE, ERROR_EXCEPTION, DELETE_FLAG, VALUE_MEANING_PUBLIC_ID, VALUE_MEANING_VERSION, MODIFICATION_TIME, MODIFICATION_USER_ID FROM dbo.QUESTION</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[QUESTION] SET [MODULE_ID] = @MODULE_ID, [DATA_ELEMENT_PUBLIC_ID] = @DATA_ELEMENT_PUBLIC_ID, [DATA_ELEMENT_VERSION] = @DATA_ELEMENT_VERSION, [ALTERNATE_METADATA_TYPE] = @ALTERNATE_METADATA_TYPE, [ALTERNATE_METADATA_ID] = @ALTERNATE_METADATA_ID, [VALUE] = @VALUE, [ALTERNATE_VALUE] = @ALTERNATE_VALUE, [ERROR_EXCEPTION] = @ERROR_EXCEPTION, [DELETE_FLAG] = @DELETE_FLAG, [VALUE_MEANING_PUBLIC_ID] = @VALUE_MEANING_PUBLIC_ID, [VALUE_MEANING_VERSION] = @VALUE_MEANING_VERSION, [MODIFICATION_TIME] = @MODIFICATION_TIME, [MODIFICATION_USER_ID] = @MODIFICATION_USER_ID WHERE (([QUESTION_ID] = @Original_QUESTION_ID) AND ([MODULE_ID] = @Original_MODULE_ID) AND ((@IsNull_DATA_ELEMENT_PUBLIC_ID = 1 AND [DATA_ELEMENT_PUBLIC_ID] IS NULL) OR ([DATA_ELEMENT_PUBLIC_ID] = @Original_DATA_ELEMENT_PUBLIC_ID)) AND ((@IsNull_DATA_ELEMENT_VERSION = 1 AND [DATA_ELEMENT_VERSION] IS NULL) OR ([DATA_ELEMENT_VERSION] = @Original_DATA_ELEMENT_VERSION)) AND ((@IsNull_ALTERNATE_METADATA_TYPE = 1 AND [ALTERNATE_METADATA_TYPE] IS NULL) OR ([ALTERNATE_METADATA_TYPE] = @Original_ALTERNATE_METADATA_TYPE)) AND ((@IsNull_ALTERNATE_METADATA_ID = 1 AND [ALTERNATE_METADATA_ID] IS NULL) OR ([ALTERNATE_METADATA_ID] = @Original_ALTERNATE_METADATA_ID)) AND ((@IsNull_VALUE = 1 AND [VALUE] IS NULL) OR ([VALUE] = @Original_VALUE)) AND ((@IsNull_ALTERNATE_VALUE = 1 AND [ALTERNATE_VALUE] IS NULL) OR ([ALTERNATE_VALUE] = @Original_ALTERNATE_VALUE)) AND ((@IsNull_ERROR_EXCEPTION = 1 AND [ERROR_EXCEPTION] IS NULL) OR ([ERROR_EXCEPTION] = @Original_ERROR_EXCEPTION)) AND ((@IsNull_DELETE_FLAG = 1 AND [DELETE_FLAG] IS NULL) OR ([DELETE_FLAG] = @Original_DELETE_FLAG)) AND ((@IsNull_VALUE_MEANING_PUBLIC_ID = 1 AND [VALUE_MEANING_PUBLIC_ID] IS NULL) OR ([VALUE_MEANING_PUBLIC_ID] = @Original_VALUE_MEANING_PUBLIC_ID)) AND ((@IsNull_VALUE_MEANING_VERSION = 1 AND [VALUE_MEANING_VERSION] IS NULL) OR ([VALUE_MEANING_VERSION] = @Original_VALUE_MEANING_VERSION)) AND ((@IsNull_MODIFICATION_TIME = 1 AND [MODIFICATION_TIME] IS NULL) OR ([MODIFICATION_TIME] = @Original_MODIFICATION_TIME)) AND ((@IsNull_MODIFICATION_USER_ID = 1 AND [MODIFICATION_USER_ID] IS NULL) OR ([MODIFICATION_USER_ID] = @Original_MODIFICATION_USER_ID)));
SELECT QUESTION_ID, MODULE_ID, DATA_ELEMENT_PUBLIC_ID, DATA_ELEMENT_VERSION, ALTERNATE_METADATA_TYPE, ALTERNATE_METADATA_ID, VALUE, ALTERNATE_VALUE, ERROR_EXCEPTION, DELETE_FLAG, VALUE_MEANING_PUBLIC_ID, VALUE_MEANING_VERSION, MODIFICATION_TIME, MODIFICATION_USER_ID FROM QUESTION WHERE (QUESTION_ID = @QUESTION_ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@MODULE_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="MODULE_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@DATA_ELEMENT_PUBLIC_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="DATA_ELEMENT_PUBLIC_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@DATA_ELEMENT_VERSION" Precision="4" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DATA_ELEMENT_VERSION" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ALTERNATE_METADATA_TYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_TYPE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ALTERNATE_METADATA_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@VALUE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VALUE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ALTERNATE_VALUE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_VALUE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ERROR_EXCEPTION" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ERROR_EXCEPTION" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@DELETE_FLAG" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="DELETE_FLAG" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@VALUE_MEANING_PUBLIC_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="VALUE_MEANING_PUBLIC_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@VALUE_MEANING_VERSION" Precision="4" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VALUE_MEANING_VERSION" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_QUESTION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="QUESTION_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_MODULE_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="MODULE_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DATA_ELEMENT_PUBLIC_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DATA_ELEMENT_PUBLIC_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_DATA_ELEMENT_PUBLIC_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="DATA_ELEMENT_PUBLIC_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DATA_ELEMENT_VERSION" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DATA_ELEMENT_VERSION" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_DATA_ELEMENT_VERSION" Precision="4" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DATA_ELEMENT_VERSION" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ALTERNATE_METADATA_TYPE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_TYPE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ALTERNATE_METADATA_TYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_TYPE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ALTERNATE_METADATA_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ALTERNATE_METADATA_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_VALUE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VALUE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_VALUE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VALUE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ALTERNATE_VALUE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ALTERNATE_VALUE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ALTERNATE_VALUE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_VALUE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ERROR_EXCEPTION" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ERROR_EXCEPTION" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ERROR_EXCEPTION" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ERROR_EXCEPTION" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DELETE_FLAG" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DELETE_FLAG" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_DELETE_FLAG" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="DELETE_FLAG" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_VALUE_MEANING_PUBLIC_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VALUE_MEANING_PUBLIC_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_VALUE_MEANING_PUBLIC_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="VALUE_MEANING_PUBLIC_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_VALUE_MEANING_VERSION" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VALUE_MEANING_VERSION" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_VALUE_MEANING_VERSION" Precision="4" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="VALUE_MEANING_VERSION" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_USER_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="QUESTION_ID" ColumnName="QUESTION_ID" DataSourceName="AGNIS_FORMS.dbo.QUESTION" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@QUESTION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="QUESTION_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="QUESTION_ID" DataSetColumn="QUESTION_ID" />
              <Mapping SourceColumn="MODULE_ID" DataSetColumn="MODULE_ID" />
              <Mapping SourceColumn="DATA_ELEMENT_PUBLIC_ID" DataSetColumn="DATA_ELEMENT_PUBLIC_ID" />
              <Mapping SourceColumn="DATA_ELEMENT_VERSION" DataSetColumn="DATA_ELEMENT_VERSION" />
              <Mapping SourceColumn="ALTERNATE_METADATA_TYPE" DataSetColumn="ALTERNATE_METADATA_TYPE" />
              <Mapping SourceColumn="ALTERNATE_METADATA_ID" DataSetColumn="ALTERNATE_METADATA_ID" />
              <Mapping SourceColumn="VALUE" DataSetColumn="VALUE" />
              <Mapping SourceColumn="ALTERNATE_VALUE" DataSetColumn="ALTERNATE_VALUE" />
              <Mapping SourceColumn="ERROR_EXCEPTION" DataSetColumn="ERROR_EXCEPTION" />
              <Mapping SourceColumn="DELETE_FLAG" DataSetColumn="DELETE_FLAG" />
              <Mapping SourceColumn="VALUE_MEANING_PUBLIC_ID" DataSetColumn="VALUE_MEANING_PUBLIC_ID" />
              <Mapping SourceColumn="VALUE_MEANING_VERSION" DataSetColumn="VALUE_MEANING_VERSION" />
              <Mapping SourceColumn="MODIFICATION_TIME" DataSetColumn="MODIFICATION_TIME" />
              <Mapping SourceColumn="MODIFICATION_USER_ID" DataSetColumn="MODIFICATION_USER_ID" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="RETRIEVALTableAdapter" GeneratorDataComponentClassName="RETRIEVALTableAdapter" Name="RETRIEVAL" UserDataComponentName="RETRIEVALTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AGNIS_FORMSConnectionString (Settings)" DbObjectName="AGNIS_FORMS.dbo.RETRIEVAL" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[RETRIEVAL] WHERE (([RETRIEVAL_ID] = @Original_RETRIEVAL_ID) AND ([SUBSCRIBER_INSTITUTION_ID] = @Original_SUBSCRIBER_INSTITUTION_ID) AND ([RETRIEVAL_SEQ_NUM] = @Original_RETRIEVAL_SEQ_NUM) AND ((@IsNull_TRANSMITTED_TIME = 1 AND [TRANSMITTED_TIME] IS NULL) OR ([TRANSMITTED_TIME] = @Original_TRANSMITTED_TIME)) AND ((@IsNull_RETRIEVAL_ACKNOWLEDGED_STATUS = 1 AND [RETRIEVAL_ACKNOWLEDGED_STATUS] IS NULL) OR ([RETRIEVAL_ACKNOWLEDGED_STATUS] = @Original_RETRIEVAL_ACKNOWLEDGED_STATUS)) AND ((@IsNull_RETRIEVAL_ACKNOWLEDGED_TIME = 1 AND [RETRIEVAL_ACKNOWLEDGED_TIME] IS NULL) OR ([RETRIEVAL_ACKNOWLEDGED_TIME] = @Original_RETRIEVAL_ACKNOWLEDGED_TIME)) AND ((@IsNull_MODIFICATION_TIME = 1 AND [MODIFICATION_TIME] IS NULL) OR ([MODIFICATION_TIME] = @Original_MODIFICATION_TIME)) AND ((@IsNull_MODIFICATION_USER_ID = 1 AND [MODIFICATION_USER_ID] IS NULL) OR ([MODIFICATION_USER_ID] = @Original_MODIFICATION_USER_ID)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_RETRIEVAL_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="RETRIEVAL_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_SUBSCRIBER_INSTITUTION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="SUBSCRIBER_INSTITUTION_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_RETRIEVAL_SEQ_NUM" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="RETRIEVAL_SEQ_NUM" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TRANSMITTED_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TRANSMITTED_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_TRANSMITTED_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="TRANSMITTED_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_RETRIEVAL_ACKNOWLEDGED_STATUS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RETRIEVAL_ACKNOWLEDGED_STATUS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_RETRIEVAL_ACKNOWLEDGED_STATUS" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="RETRIEVAL_ACKNOWLEDGED_STATUS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_RETRIEVAL_ACKNOWLEDGED_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RETRIEVAL_ACKNOWLEDGED_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_RETRIEVAL_ACKNOWLEDGED_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="RETRIEVAL_ACKNOWLEDGED_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_USER_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[RETRIEVAL] ([SUBSCRIBER_INSTITUTION_ID], [RETRIEVAL_SEQ_NUM], [TRANSMITTED_TIME], [RETRIEVAL_ACKNOWLEDGED_STATUS], [RETRIEVAL_ACKNOWLEDGED_TIME], [MODIFICATION_TIME], [MODIFICATION_USER_ID]) VALUES (@SUBSCRIBER_INSTITUTION_ID, @RETRIEVAL_SEQ_NUM, @TRANSMITTED_TIME, @RETRIEVAL_ACKNOWLEDGED_STATUS, @RETRIEVAL_ACKNOWLEDGED_TIME, @MODIFICATION_TIME, @MODIFICATION_USER_ID);
SELECT RETRIEVAL_ID, SUBSCRIBER_INSTITUTION_ID, RETRIEVAL_SEQ_NUM, TRANSMITTED_TIME, RETRIEVAL_ACKNOWLEDGED_STATUS, RETRIEVAL_ACKNOWLEDGED_TIME, MODIFICATION_TIME, MODIFICATION_USER_ID FROM RETRIEVAL WHERE (RETRIEVAL_ID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@SUBSCRIBER_INSTITUTION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="SUBSCRIBER_INSTITUTION_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@RETRIEVAL_SEQ_NUM" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="RETRIEVAL_SEQ_NUM" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@TRANSMITTED_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="TRANSMITTED_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@RETRIEVAL_ACKNOWLEDGED_STATUS" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="RETRIEVAL_ACKNOWLEDGED_STATUS" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@RETRIEVAL_ACKNOWLEDGED_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="RETRIEVAL_ACKNOWLEDGED_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT RETRIEVAL_ID, SUBSCRIBER_INSTITUTION_ID, RETRIEVAL_SEQ_NUM, TRANSMITTED_TIME, RETRIEVAL_ACKNOWLEDGED_STATUS, RETRIEVAL_ACKNOWLEDGED_TIME, MODIFICATION_TIME, MODIFICATION_USER_ID FROM dbo.RETRIEVAL</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[RETRIEVAL] SET [SUBSCRIBER_INSTITUTION_ID] = @SUBSCRIBER_INSTITUTION_ID, [RETRIEVAL_SEQ_NUM] = @RETRIEVAL_SEQ_NUM, [TRANSMITTED_TIME] = @TRANSMITTED_TIME, [RETRIEVAL_ACKNOWLEDGED_STATUS] = @RETRIEVAL_ACKNOWLEDGED_STATUS, [RETRIEVAL_ACKNOWLEDGED_TIME] = @RETRIEVAL_ACKNOWLEDGED_TIME, [MODIFICATION_TIME] = @MODIFICATION_TIME, [MODIFICATION_USER_ID] = @MODIFICATION_USER_ID WHERE (([RETRIEVAL_ID] = @Original_RETRIEVAL_ID) AND ([SUBSCRIBER_INSTITUTION_ID] = @Original_SUBSCRIBER_INSTITUTION_ID) AND ([RETRIEVAL_SEQ_NUM] = @Original_RETRIEVAL_SEQ_NUM) AND ((@IsNull_TRANSMITTED_TIME = 1 AND [TRANSMITTED_TIME] IS NULL) OR ([TRANSMITTED_TIME] = @Original_TRANSMITTED_TIME)) AND ((@IsNull_RETRIEVAL_ACKNOWLEDGED_STATUS = 1 AND [RETRIEVAL_ACKNOWLEDGED_STATUS] IS NULL) OR ([RETRIEVAL_ACKNOWLEDGED_STATUS] = @Original_RETRIEVAL_ACKNOWLEDGED_STATUS)) AND ((@IsNull_RETRIEVAL_ACKNOWLEDGED_TIME = 1 AND [RETRIEVAL_ACKNOWLEDGED_TIME] IS NULL) OR ([RETRIEVAL_ACKNOWLEDGED_TIME] = @Original_RETRIEVAL_ACKNOWLEDGED_TIME)) AND ((@IsNull_MODIFICATION_TIME = 1 AND [MODIFICATION_TIME] IS NULL) OR ([MODIFICATION_TIME] = @Original_MODIFICATION_TIME)) AND ((@IsNull_MODIFICATION_USER_ID = 1 AND [MODIFICATION_USER_ID] IS NULL) OR ([MODIFICATION_USER_ID] = @Original_MODIFICATION_USER_ID)));
SELECT RETRIEVAL_ID, SUBSCRIBER_INSTITUTION_ID, RETRIEVAL_SEQ_NUM, TRANSMITTED_TIME, RETRIEVAL_ACKNOWLEDGED_STATUS, RETRIEVAL_ACKNOWLEDGED_TIME, MODIFICATION_TIME, MODIFICATION_USER_ID FROM RETRIEVAL WHERE (RETRIEVAL_ID = @RETRIEVAL_ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@SUBSCRIBER_INSTITUTION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="SUBSCRIBER_INSTITUTION_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@RETRIEVAL_SEQ_NUM" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="RETRIEVAL_SEQ_NUM" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@TRANSMITTED_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="TRANSMITTED_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@RETRIEVAL_ACKNOWLEDGED_STATUS" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="RETRIEVAL_ACKNOWLEDGED_STATUS" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@RETRIEVAL_ACKNOWLEDGED_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="RETRIEVAL_ACKNOWLEDGED_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_RETRIEVAL_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="RETRIEVAL_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_SUBSCRIBER_INSTITUTION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="SUBSCRIBER_INSTITUTION_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_RETRIEVAL_SEQ_NUM" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="RETRIEVAL_SEQ_NUM" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TRANSMITTED_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TRANSMITTED_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_TRANSMITTED_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="TRANSMITTED_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_RETRIEVAL_ACKNOWLEDGED_STATUS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RETRIEVAL_ACKNOWLEDGED_STATUS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_RETRIEVAL_ACKNOWLEDGED_STATUS" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="RETRIEVAL_ACKNOWLEDGED_STATUS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_RETRIEVAL_ACKNOWLEDGED_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RETRIEVAL_ACKNOWLEDGED_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_RETRIEVAL_ACKNOWLEDGED_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="RETRIEVAL_ACKNOWLEDGED_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_USER_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="RETRIEVAL_ID" ColumnName="RETRIEVAL_ID" DataSourceName="AGNIS_FORMS.dbo.RETRIEVAL" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@RETRIEVAL_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="RETRIEVAL_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="RETRIEVAL_ID" DataSetColumn="RETRIEVAL_ID" />
              <Mapping SourceColumn="SUBSCRIBER_INSTITUTION_ID" DataSetColumn="SUBSCRIBER_INSTITUTION_ID" />
              <Mapping SourceColumn="RETRIEVAL_SEQ_NUM" DataSetColumn="RETRIEVAL_SEQ_NUM" />
              <Mapping SourceColumn="TRANSMITTED_TIME" DataSetColumn="TRANSMITTED_TIME" />
              <Mapping SourceColumn="RETRIEVAL_ACKNOWLEDGED_STATUS" DataSetColumn="RETRIEVAL_ACKNOWLEDGED_STATUS" />
              <Mapping SourceColumn="RETRIEVAL_ACKNOWLEDGED_TIME" DataSetColumn="RETRIEVAL_ACKNOWLEDGED_TIME" />
              <Mapping SourceColumn="MODIFICATION_TIME" DataSetColumn="MODIFICATION_TIME" />
              <Mapping SourceColumn="MODIFICATION_USER_ID" DataSetColumn="MODIFICATION_USER_ID" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="RETRIEVAL_FORM_REVISIONTableAdapter" GeneratorDataComponentClassName="RETRIEVAL_FORM_REVISIONTableAdapter" Name="RETRIEVAL_FORM_REVISION" UserDataComponentName="RETRIEVAL_FORM_REVISIONTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AGNIS_FORMSConnectionString (Settings)" DbObjectName="AGNIS_FORMS.dbo.RETRIEVAL_FORM_REVISION" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[RETRIEVAL_FORM_REVISION] ([RETRIEVAL_ID], [FORM_REVISION_ID], [MODIFICATION_TIME], [MODIFICATION_USER_ID]) VALUES (@RETRIEVAL_ID, @FORM_REVISION_ID, @MODIFICATION_TIME, @MODIFICATION_USER_ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@RETRIEVAL_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="RETRIEVAL_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@FORM_REVISION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="FORM_REVISION_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT RETRIEVAL_ID, FORM_REVISION_ID, MODIFICATION_TIME, MODIFICATION_USER_ID FROM dbo.RETRIEVAL_FORM_REVISION</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="RETRIEVAL_ID" DataSetColumn="RETRIEVAL_ID" />
              <Mapping SourceColumn="FORM_REVISION_ID" DataSetColumn="FORM_REVISION_ID" />
              <Mapping SourceColumn="MODIFICATION_TIME" DataSetColumn="MODIFICATION_TIME" />
              <Mapping SourceColumn="MODIFICATION_USER_ID" DataSetColumn="MODIFICATION_USER_ID" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="TEST_QUESTIONTableAdapter" GeneratorDataComponentClassName="TEST_QUESTIONTableAdapter" Name="TEST_QUESTION" UserDataComponentName="TEST_QUESTIONTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AGNIS_FORMSConnectionString (Settings)" DbObjectName="AGNIS_FORMS.dbo.TEST_QUESTION" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[TEST_QUESTION] WHERE (([TEST_QUESTION_ID] = @Original_TEST_QUESTION_ID) AND ([FORM_ELEMENT_ERROR_ID] = @Original_FORM_ELEMENT_ERROR_ID) AND ((@IsNull_MODULE_PUBLIC_ID = 1 AND [MODULE_PUBLIC_ID] IS NULL) OR ([MODULE_PUBLIC_ID] = @Original_MODULE_PUBLIC_ID)) AND ((@IsNull_MODULE_VERSION = 1 AND [MODULE_VERSION] IS NULL) OR ([MODULE_VERSION] = @Original_MODULE_VERSION)) AND ((@IsNull_MODULE_ALTERNATE_METADATA_TYPE = 1 AND [MODULE_ALTERNATE_METADATA_TYPE] IS NULL) OR ([MODULE_ALTERNATE_METADATA_TYPE] = @Original_MODULE_ALTERNATE_METADATA_TYPE)) AND ((@IsNull_MODULE_ALTERNATE_METADATA_ID = 1 AND [MODULE_ALTERNATE_METADATA_ID] IS NULL) OR ([MODULE_ALTERNATE_METADATA_ID] = @Original_MODULE_ALTERNATE_METADATA_ID)) AND ([REPEAT_SEQUENCE_NUMBER] = @Original_REPEAT_SEQUENCE_NUMBER) AND ((@IsNull_DATA_ELEMENT_PUBLIC_ID = 1 AND [DATA_ELEMENT_PUBLIC_ID] IS NULL) OR ([DATA_ELEMENT_PUBLIC_ID] = @Original_DATA_ELEMENT_PUBLIC_ID)) AND ((@IsNull_DATA_ELEMENT_VERSION = 1 AND [DATA_ELEMENT_VERSION] IS NULL) OR ([DATA_ELEMENT_VERSION] = @Original_DATA_ELEMENT_VERSION)) AND ((@IsNull_ALTERNATE_METADATA_TYPE = 1 AND [ALTERNATE_METADATA_TYPE] IS NULL) OR ([ALTERNATE_METADATA_TYPE] = @Original_ALTERNATE_METADATA_TYPE)) AND ((@IsNull_ALTERNATE_METADATA_ID = 1 AND [ALTERNATE_METADATA_ID] IS NULL) OR ([ALTERNATE_METADATA_ID] = @Original_ALTERNATE_METADATA_ID)) AND ((@IsNull_MODIFICATION_TIME = 1 AND [MODIFICATION_TIME] IS NULL) OR ([MODIFICATION_TIME] = @Original_MODIFICATION_TIME)) AND ((@IsNull_MODIFICATION_USER_ID = 1 AND [MODIFICATION_USER_ID] IS NULL) OR ([MODIFICATION_USER_ID] = @Original_MODIFICATION_USER_ID)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_TEST_QUESTION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="TEST_QUESTION_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_FORM_ELEMENT_ERROR_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="FORM_ELEMENT_ERROR_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODULE_PUBLIC_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODULE_PUBLIC_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_MODULE_PUBLIC_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="MODULE_PUBLIC_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODULE_VERSION" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODULE_VERSION" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_MODULE_VERSION" Precision="4" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="MODULE_VERSION" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODULE_ALTERNATE_METADATA_TYPE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODULE_ALTERNATE_METADATA_TYPE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MODULE_ALTERNATE_METADATA_TYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODULE_ALTERNATE_METADATA_TYPE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODULE_ALTERNATE_METADATA_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODULE_ALTERNATE_METADATA_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MODULE_ALTERNATE_METADATA_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODULE_ALTERNATE_METADATA_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_REPEAT_SEQUENCE_NUMBER" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="REPEAT_SEQUENCE_NUMBER" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DATA_ELEMENT_PUBLIC_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DATA_ELEMENT_PUBLIC_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_DATA_ELEMENT_PUBLIC_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="DATA_ELEMENT_PUBLIC_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DATA_ELEMENT_VERSION" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DATA_ELEMENT_VERSION" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_DATA_ELEMENT_VERSION" Precision="4" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DATA_ELEMENT_VERSION" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ALTERNATE_METADATA_TYPE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_TYPE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ALTERNATE_METADATA_TYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_TYPE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ALTERNATE_METADATA_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ALTERNATE_METADATA_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_USER_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[TEST_QUESTION] ([FORM_ELEMENT_ERROR_ID], [MODULE_PUBLIC_ID], [MODULE_VERSION], [MODULE_ALTERNATE_METADATA_TYPE], [MODULE_ALTERNATE_METADATA_ID], [REPEAT_SEQUENCE_NUMBER], [DATA_ELEMENT_PUBLIC_ID], [DATA_ELEMENT_VERSION], [ALTERNATE_METADATA_TYPE], [ALTERNATE_METADATA_ID], [MODIFICATION_TIME], [MODIFICATION_USER_ID]) VALUES (@FORM_ELEMENT_ERROR_ID, @MODULE_PUBLIC_ID, @MODULE_VERSION, @MODULE_ALTERNATE_METADATA_TYPE, @MODULE_ALTERNATE_METADATA_ID, @REPEAT_SEQUENCE_NUMBER, @DATA_ELEMENT_PUBLIC_ID, @DATA_ELEMENT_VERSION, @ALTERNATE_METADATA_TYPE, @ALTERNATE_METADATA_ID, @MODIFICATION_TIME, @MODIFICATION_USER_ID);
SELECT TEST_QUESTION_ID, FORM_ELEMENT_ERROR_ID, MODULE_PUBLIC_ID, MODULE_VERSION, MODULE_ALTERNATE_METADATA_TYPE, MODULE_ALTERNATE_METADATA_ID, REPEAT_SEQUENCE_NUMBER, DATA_ELEMENT_PUBLIC_ID, DATA_ELEMENT_VERSION, ALTERNATE_METADATA_TYPE, ALTERNATE_METADATA_ID, MODIFICATION_TIME, MODIFICATION_USER_ID FROM TEST_QUESTION WHERE (TEST_QUESTION_ID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@FORM_ELEMENT_ERROR_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="FORM_ELEMENT_ERROR_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@MODULE_PUBLIC_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="MODULE_PUBLIC_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@MODULE_VERSION" Precision="4" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="MODULE_VERSION" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MODULE_ALTERNATE_METADATA_TYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODULE_ALTERNATE_METADATA_TYPE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MODULE_ALTERNATE_METADATA_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODULE_ALTERNATE_METADATA_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@REPEAT_SEQUENCE_NUMBER" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="REPEAT_SEQUENCE_NUMBER" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@DATA_ELEMENT_PUBLIC_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="DATA_ELEMENT_PUBLIC_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@DATA_ELEMENT_VERSION" Precision="4" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DATA_ELEMENT_VERSION" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ALTERNATE_METADATA_TYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_TYPE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ALTERNATE_METADATA_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT TEST_QUESTION_ID, FORM_ELEMENT_ERROR_ID, MODULE_PUBLIC_ID, MODULE_VERSION, MODULE_ALTERNATE_METADATA_TYPE, MODULE_ALTERNATE_METADATA_ID, REPEAT_SEQUENCE_NUMBER, DATA_ELEMENT_PUBLIC_ID, DATA_ELEMENT_VERSION, ALTERNATE_METADATA_TYPE, ALTERNATE_METADATA_ID, MODIFICATION_TIME, MODIFICATION_USER_ID FROM dbo.TEST_QUESTION</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[TEST_QUESTION] SET [FORM_ELEMENT_ERROR_ID] = @FORM_ELEMENT_ERROR_ID, [MODULE_PUBLIC_ID] = @MODULE_PUBLIC_ID, [MODULE_VERSION] = @MODULE_VERSION, [MODULE_ALTERNATE_METADATA_TYPE] = @MODULE_ALTERNATE_METADATA_TYPE, [MODULE_ALTERNATE_METADATA_ID] = @MODULE_ALTERNATE_METADATA_ID, [REPEAT_SEQUENCE_NUMBER] = @REPEAT_SEQUENCE_NUMBER, [DATA_ELEMENT_PUBLIC_ID] = @DATA_ELEMENT_PUBLIC_ID, [DATA_ELEMENT_VERSION] = @DATA_ELEMENT_VERSION, [ALTERNATE_METADATA_TYPE] = @ALTERNATE_METADATA_TYPE, [ALTERNATE_METADATA_ID] = @ALTERNATE_METADATA_ID, [MODIFICATION_TIME] = @MODIFICATION_TIME, [MODIFICATION_USER_ID] = @MODIFICATION_USER_ID WHERE (([TEST_QUESTION_ID] = @Original_TEST_QUESTION_ID) AND ([FORM_ELEMENT_ERROR_ID] = @Original_FORM_ELEMENT_ERROR_ID) AND ((@IsNull_MODULE_PUBLIC_ID = 1 AND [MODULE_PUBLIC_ID] IS NULL) OR ([MODULE_PUBLIC_ID] = @Original_MODULE_PUBLIC_ID)) AND ((@IsNull_MODULE_VERSION = 1 AND [MODULE_VERSION] IS NULL) OR ([MODULE_VERSION] = @Original_MODULE_VERSION)) AND ((@IsNull_MODULE_ALTERNATE_METADATA_TYPE = 1 AND [MODULE_ALTERNATE_METADATA_TYPE] IS NULL) OR ([MODULE_ALTERNATE_METADATA_TYPE] = @Original_MODULE_ALTERNATE_METADATA_TYPE)) AND ((@IsNull_MODULE_ALTERNATE_METADATA_ID = 1 AND [MODULE_ALTERNATE_METADATA_ID] IS NULL) OR ([MODULE_ALTERNATE_METADATA_ID] = @Original_MODULE_ALTERNATE_METADATA_ID)) AND ([REPEAT_SEQUENCE_NUMBER] = @Original_REPEAT_SEQUENCE_NUMBER) AND ((@IsNull_DATA_ELEMENT_PUBLIC_ID = 1 AND [DATA_ELEMENT_PUBLIC_ID] IS NULL) OR ([DATA_ELEMENT_PUBLIC_ID] = @Original_DATA_ELEMENT_PUBLIC_ID)) AND ((@IsNull_DATA_ELEMENT_VERSION = 1 AND [DATA_ELEMENT_VERSION] IS NULL) OR ([DATA_ELEMENT_VERSION] = @Original_DATA_ELEMENT_VERSION)) AND ((@IsNull_ALTERNATE_METADATA_TYPE = 1 AND [ALTERNATE_METADATA_TYPE] IS NULL) OR ([ALTERNATE_METADATA_TYPE] = @Original_ALTERNATE_METADATA_TYPE)) AND ((@IsNull_ALTERNATE_METADATA_ID = 1 AND [ALTERNATE_METADATA_ID] IS NULL) OR ([ALTERNATE_METADATA_ID] = @Original_ALTERNATE_METADATA_ID)) AND ((@IsNull_MODIFICATION_TIME = 1 AND [MODIFICATION_TIME] IS NULL) OR ([MODIFICATION_TIME] = @Original_MODIFICATION_TIME)) AND ((@IsNull_MODIFICATION_USER_ID = 1 AND [MODIFICATION_USER_ID] IS NULL) OR ([MODIFICATION_USER_ID] = @Original_MODIFICATION_USER_ID)));
SELECT TEST_QUESTION_ID, FORM_ELEMENT_ERROR_ID, MODULE_PUBLIC_ID, MODULE_VERSION, MODULE_ALTERNATE_METADATA_TYPE, MODULE_ALTERNATE_METADATA_ID, REPEAT_SEQUENCE_NUMBER, DATA_ELEMENT_PUBLIC_ID, DATA_ELEMENT_VERSION, ALTERNATE_METADATA_TYPE, ALTERNATE_METADATA_ID, MODIFICATION_TIME, MODIFICATION_USER_ID FROM TEST_QUESTION WHERE (TEST_QUESTION_ID = @TEST_QUESTION_ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@FORM_ELEMENT_ERROR_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="FORM_ELEMENT_ERROR_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@MODULE_PUBLIC_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="MODULE_PUBLIC_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@MODULE_VERSION" Precision="4" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="MODULE_VERSION" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MODULE_ALTERNATE_METADATA_TYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODULE_ALTERNATE_METADATA_TYPE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MODULE_ALTERNATE_METADATA_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODULE_ALTERNATE_METADATA_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@REPEAT_SEQUENCE_NUMBER" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="REPEAT_SEQUENCE_NUMBER" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@DATA_ELEMENT_PUBLIC_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="DATA_ELEMENT_PUBLIC_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@DATA_ELEMENT_VERSION" Precision="4" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DATA_ELEMENT_VERSION" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ALTERNATE_METADATA_TYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_TYPE" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ALTERNATE_METADATA_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_TEST_QUESTION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="TEST_QUESTION_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_FORM_ELEMENT_ERROR_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="FORM_ELEMENT_ERROR_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODULE_PUBLIC_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODULE_PUBLIC_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_MODULE_PUBLIC_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="MODULE_PUBLIC_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODULE_VERSION" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODULE_VERSION" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_MODULE_VERSION" Precision="4" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="MODULE_VERSION" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODULE_ALTERNATE_METADATA_TYPE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODULE_ALTERNATE_METADATA_TYPE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MODULE_ALTERNATE_METADATA_TYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODULE_ALTERNATE_METADATA_TYPE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODULE_ALTERNATE_METADATA_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODULE_ALTERNATE_METADATA_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MODULE_ALTERNATE_METADATA_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODULE_ALTERNATE_METADATA_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_REPEAT_SEQUENCE_NUMBER" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="REPEAT_SEQUENCE_NUMBER" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DATA_ELEMENT_PUBLIC_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DATA_ELEMENT_PUBLIC_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_DATA_ELEMENT_PUBLIC_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="DATA_ELEMENT_PUBLIC_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DATA_ELEMENT_VERSION" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DATA_ELEMENT_VERSION" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_DATA_ELEMENT_VERSION" Precision="4" ProviderType="Decimal" Scale="2" Size="0" SourceColumn="DATA_ELEMENT_VERSION" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ALTERNATE_METADATA_TYPE" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_TYPE" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ALTERNATE_METADATA_TYPE" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_TYPE" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ALTERNATE_METADATA_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ALTERNATE_METADATA_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ALTERNATE_METADATA_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_USER_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="TEST_QUESTION_ID" ColumnName="TEST_QUESTION_ID" DataSourceName="AGNIS_FORMS.dbo.TEST_QUESTION" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@TEST_QUESTION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="TEST_QUESTION_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="TEST_QUESTION_ID" DataSetColumn="TEST_QUESTION_ID" />
              <Mapping SourceColumn="FORM_ELEMENT_ERROR_ID" DataSetColumn="FORM_ELEMENT_ERROR_ID" />
              <Mapping SourceColumn="MODULE_PUBLIC_ID" DataSetColumn="MODULE_PUBLIC_ID" />
              <Mapping SourceColumn="MODULE_VERSION" DataSetColumn="MODULE_VERSION" />
              <Mapping SourceColumn="MODULE_ALTERNATE_METADATA_TYPE" DataSetColumn="MODULE_ALTERNATE_METADATA_TYPE" />
              <Mapping SourceColumn="MODULE_ALTERNATE_METADATA_ID" DataSetColumn="MODULE_ALTERNATE_METADATA_ID" />
              <Mapping SourceColumn="REPEAT_SEQUENCE_NUMBER" DataSetColumn="REPEAT_SEQUENCE_NUMBER" />
              <Mapping SourceColumn="DATA_ELEMENT_PUBLIC_ID" DataSetColumn="DATA_ELEMENT_PUBLIC_ID" />
              <Mapping SourceColumn="DATA_ELEMENT_VERSION" DataSetColumn="DATA_ELEMENT_VERSION" />
              <Mapping SourceColumn="ALTERNATE_METADATA_TYPE" DataSetColumn="ALTERNATE_METADATA_TYPE" />
              <Mapping SourceColumn="ALTERNATE_METADATA_ID" DataSetColumn="ALTERNATE_METADATA_ID" />
              <Mapping SourceColumn="MODIFICATION_TIME" DataSetColumn="MODIFICATION_TIME" />
              <Mapping SourceColumn="MODIFICATION_USER_ID" DataSetColumn="MODIFICATION_USER_ID" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="FORM_REVISIONTableAdapter" GeneratorDataComponentClassName="FORM_REVISIONTableAdapter" Name="FORM_REVISION" UserDataComponentName="FORM_REVISIONTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AGNIS_FORMSConnectionString (Settings)" DbObjectName="AGNIS_FORMS.dbo.FORM_REVISION" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [FORM_REVISION] WHERE (([FORM_REVISION_ID] = @Original_FORM_REVISION_ID) AND ([FORM_ID] = @Original_FORM_ID) AND ([FORM_REVISION_SEQ_NUM] = @Original_FORM_REVISION_SEQ_NUM) AND ((@IsNull_RECEIVED_TIME = 1 AND [RECEIVED_TIME] IS NULL) OR ([RECEIVED_TIME] = @Original_RECEIVED_TIME)) AND ((@IsNull_STATUS = 1 AND [STATUS] IS NULL) OR ([STATUS] = @Original_STATUS)) AND ((@IsNull_LOCK_STRING = 1 AND [LOCK_STRING] IS NULL) OR ([LOCK_STRING] = @Original_LOCK_STRING)) AND ((@IsNull_LOCK_OVERRIDE_FLAG = 1 AND [LOCK_OVERRIDE_FLAG] IS NULL) OR ([LOCK_OVERRIDE_FLAG] = @Original_LOCK_OVERRIDE_FLAG)) AND ((@IsNull_MODIFICATION_TIME = 1 AND [MODIFICATION_TIME] IS NULL) OR ([MODIFICATION_TIME] = @Original_MODIFICATION_TIME)) AND ((@IsNull_MODIFICATION_USER_ID = 1 AND [MODIFICATION_USER_ID] IS NULL) OR ([MODIFICATION_USER_ID] = @Original_MODIFICATION_USER_ID)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_FORM_REVISION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="FORM_REVISION_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_FORM_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="FORM_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_FORM_REVISION_SEQ_NUM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FORM_REVISION_SEQ_NUM" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_RECEIVED_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RECEIVED_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_RECEIVED_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="RECEIVED_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_STATUS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="STATUS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_STATUS" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="STATUS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LOCK_STRING" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LOCK_STRING" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_LOCK_STRING" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LOCK_STRING" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LOCK_OVERRIDE_FLAG" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LOCK_OVERRIDE_FLAG" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_LOCK_OVERRIDE_FLAG" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="LOCK_OVERRIDE_FLAG" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_USER_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [FORM_REVISION] ([FORM_ID], [FORM_REVISION_SEQ_NUM], [RECEIVED_TIME], [STATUS], [LOCK_STRING], [LOCK_OVERRIDE_FLAG], [MODIFICATION_TIME], [MODIFICATION_USER_ID]) VALUES (@FORM_ID, @FORM_REVISION_SEQ_NUM, @RECEIVED_TIME, @STATUS, @LOCK_STRING, @LOCK_OVERRIDE_FLAG, @MODIFICATION_TIME, @MODIFICATION_USER_ID);
SELECT FORM_REVISION_ID, FORM_ID, FORM_REVISION_SEQ_NUM, RECEIVED_TIME, STATUS, LOCK_STRING, LOCK_OVERRIDE_FLAG, MODIFICATION_TIME, MODIFICATION_USER_ID FROM FORM_REVISION WHERE (FORM_REVISION_ID = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@FORM_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="FORM_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@FORM_REVISION_SEQ_NUM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FORM_REVISION_SEQ_NUM" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@RECEIVED_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="RECEIVED_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@STATUS" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="STATUS" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@LOCK_STRING" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LOCK_STRING" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@LOCK_OVERRIDE_FLAG" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="LOCK_OVERRIDE_FLAG" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT     FORM_REVISION_ID, FORM_ID, FORM_REVISION_SEQ_NUM, RECEIVED_TIME, STATUS, LOCK_STRING, LOCK_OVERRIDE_FLAG, 
                      MODIFICATION_TIME, MODIFICATION_USER_ID
FROM         FORM_REVISION</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [FORM_REVISION] SET [FORM_ID] = @FORM_ID, [FORM_REVISION_SEQ_NUM] = @FORM_REVISION_SEQ_NUM, [RECEIVED_TIME] = @RECEIVED_TIME, [STATUS] = @STATUS, [LOCK_STRING] = @LOCK_STRING, [LOCK_OVERRIDE_FLAG] = @LOCK_OVERRIDE_FLAG, [MODIFICATION_TIME] = @MODIFICATION_TIME, [MODIFICATION_USER_ID] = @MODIFICATION_USER_ID WHERE (([FORM_REVISION_ID] = @Original_FORM_REVISION_ID) AND ([FORM_ID] = @Original_FORM_ID) AND ([FORM_REVISION_SEQ_NUM] = @Original_FORM_REVISION_SEQ_NUM) AND ((@IsNull_RECEIVED_TIME = 1 AND [RECEIVED_TIME] IS NULL) OR ([RECEIVED_TIME] = @Original_RECEIVED_TIME)) AND ((@IsNull_STATUS = 1 AND [STATUS] IS NULL) OR ([STATUS] = @Original_STATUS)) AND ((@IsNull_LOCK_STRING = 1 AND [LOCK_STRING] IS NULL) OR ([LOCK_STRING] = @Original_LOCK_STRING)) AND ((@IsNull_LOCK_OVERRIDE_FLAG = 1 AND [LOCK_OVERRIDE_FLAG] IS NULL) OR ([LOCK_OVERRIDE_FLAG] = @Original_LOCK_OVERRIDE_FLAG)) AND ((@IsNull_MODIFICATION_TIME = 1 AND [MODIFICATION_TIME] IS NULL) OR ([MODIFICATION_TIME] = @Original_MODIFICATION_TIME)) AND ((@IsNull_MODIFICATION_USER_ID = 1 AND [MODIFICATION_USER_ID] IS NULL) OR ([MODIFICATION_USER_ID] = @Original_MODIFICATION_USER_ID)));
SELECT FORM_REVISION_ID, FORM_ID, FORM_REVISION_SEQ_NUM, RECEIVED_TIME, STATUS, LOCK_STRING, LOCK_OVERRIDE_FLAG, MODIFICATION_TIME, MODIFICATION_USER_ID FROM FORM_REVISION WHERE (FORM_REVISION_ID = @FORM_REVISION_ID)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@FORM_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="FORM_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@FORM_REVISION_SEQ_NUM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FORM_REVISION_SEQ_NUM" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@RECEIVED_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="RECEIVED_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@STATUS" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="STATUS" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@LOCK_STRING" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LOCK_STRING" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@LOCK_OVERRIDE_FLAG" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="LOCK_OVERRIDE_FLAG" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_FORM_REVISION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="FORM_REVISION_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int64" Direction="Input" ParameterName="@Original_FORM_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="0" SourceColumn="FORM_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_FORM_REVISION_SEQ_NUM" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FORM_REVISION_SEQ_NUM" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_RECEIVED_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RECEIVED_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_RECEIVED_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="RECEIVED_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_STATUS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="STATUS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_STATUS" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="STATUS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LOCK_STRING" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LOCK_STRING" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_LOCK_STRING" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LOCK_STRING" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LOCK_OVERRIDE_FLAG" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LOCK_OVERRIDE_FLAG" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_LOCK_OVERRIDE_FLAG" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="LOCK_OVERRIDE_FLAG" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_TIME" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_MODIFICATION_TIME" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="MODIFICATION_TIME" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MODIFICATION_USER_ID" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MODIFICATION_USER_ID" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MODIFICATION_USER_ID" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="FORM_REVISION_ID" ColumnName="FORM_REVISION_ID" DataSourceName="AGNIS_FORMS.dbo.FORM_REVISION" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@FORM_REVISION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="FORM_REVISION_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="FORM_REVISION_ID" DataSetColumn="FORM_REVISION_ID" />
              <Mapping SourceColumn="FORM_ID" DataSetColumn="FORM_ID" />
              <Mapping SourceColumn="FORM_REVISION_SEQ_NUM" DataSetColumn="FORM_REVISION_SEQ_NUM" />
              <Mapping SourceColumn="RECEIVED_TIME" DataSetColumn="RECEIVED_TIME" />
              <Mapping SourceColumn="STATUS" DataSetColumn="STATUS" />
              <Mapping SourceColumn="LOCK_STRING" DataSetColumn="LOCK_STRING" />
              <Mapping SourceColumn="LOCK_OVERRIDE_FLAG" DataSetColumn="LOCK_OVERRIDE_FLAG" />
              <Mapping SourceColumn="MODIFICATION_TIME" DataSetColumn="MODIFICATION_TIME" />
              <Mapping SourceColumn="MODIFICATION_USER_ID" DataSetColumn="MODIFICATION_USER_ID" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="GENERATED_FORMS_LIST_WITH_STATUSTableAdapter" GeneratorDataComponentClassName="GENERATED_FORMS_LIST_WITH_STATUSTableAdapter" Name="GENERATED_FORMS_LIST_WITH_STATUS" UserDataComponentName="GENERATED_FORMS_LIST_WITH_STATUSTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="AGNIS_FORMSConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        GENERATED_FORMS_LIST.FORM_ID, GENERATED_FORMS_LIST.FORM_REVISION_ID, GENERATED_FORMS_LIST.FORM_NUMBER, 
                         GENERATED_FORMS_LIST.VISIT_ID, GENERATED_FORMS_LIST.CRID, GENERATED_FORMS_LIST.ID, GENERATED_FORMS_LIST.IDAA, 
                         GENERATED_FORMS_LIST.DATE_OF_HSCT, GENERATED_FORMS_LIST.EBMT_LAST_MOD_TIME, FORM_REVISION.STATUS
FROM            GENERATED_FORMS_LIST INNER JOIN
                         FORM_REVISION ON GENERATED_FORMS_LIST.FORM_ID = FORM_REVISION.FORM_ID AND 
                         GENERATED_FORMS_LIST.FORM_REVISION_ID = FORM_REVISION.FORM_REVISION_ID</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="VISIT_ID" DataSetColumn="VISIT_ID" />
              <Mapping SourceColumn="ID" DataSetColumn="ID" />
              <Mapping SourceColumn="IDAA" DataSetColumn="IDAA" />
              <Mapping SourceColumn="DATE_OF_HSCT" DataSetColumn="DATE_OF_HSCT" />
              <Mapping SourceColumn="STATUS" DataSetColumn="STATUS" />
              <Mapping SourceColumn="EBMT_LAST_MOD_TIME" DataSetColumn="EBMT_LAST_MOD_TIME" />
              <Mapping SourceColumn="FORM_ID" DataSetColumn="FORM_ID" />
              <Mapping SourceColumn="FORM_REVISION_ID" DataSetColumn="FORM_REVISION_ID" />
              <Mapping SourceColumn="FORM_NUMBER" DataSetColumn="FORM_NUMBER" />
              <Mapping SourceColumn="CRID" DataSetColumn="CRID" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources>
          <DbSource ConnectionRef="AGNIS_FORMSConnectionString (Settings)" DbObjectName="AGNIS_FORMS.dbo.FORM_REVISION" DbObjectType="Table" GenerateShortCommands="true" GeneratorSourceName="FormRevisionIDExist" MethodsParameterType="CLR" Modifier="Public" Name="FormRevisionIDExist" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="FormRevisionIDExist">
            <SelectCommand>
              <DbCommand CommandType="Text" ModifiedByUser="true">
                <CommandText>SELECT    *
FROM         FORM_REVISION
WHERE     (FORM_REVISION_ID = @FORM_REVISION_ID)</CommandText>
                <Parameters>
                  <Parameter AllowDbNull="false" AutogeneratedName="FORM_REVISION_ID" ColumnName="FORM_REVISION_ID" DataSourceName="AGNIS_FORMS.dbo.FORM_REVISION" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@FORM_REVISION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="FORM_REVISION_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                </Parameters>
              </DbCommand>
            </SelectCommand>
          </DbSource>
          <DbSource ConnectionRef="AGNIS_FORMSConnectionString (Settings)" DbObjectName="AGNIS_FORMS.dbo.FORM" DbObjectType="Table" GenerateShortCommands="true" GeneratorSourceName="FormIDExist" MethodsParameterType="CLR" Modifier="Public" Name="FormIDExist" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy1" UserSourceName="FormIDExist">
            <SelectCommand>
              <DbCommand CommandType="Text" ModifiedByUser="true">
                <CommandText>SELECT     *
FROM         FORM
WHERE     (FORM_ID = @FORM_ID)</CommandText>
                <Parameters>
                  <Parameter AllowDbNull="false" AutogeneratedName="FORM_ID" ColumnName="FORM_ID" DataSourceName="AGNIS_FORMS.dbo.FORM" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@FORM_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="FORM_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                </Parameters>
              </DbCommand>
            </SelectCommand>
          </DbSource>
          <DbSource ConnectionRef="AGNIS_FORMSConnectionString (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="CountLastFormRevision" MethodsParameterType="CLR" Modifier="Public" Name="CountLastFormRevision" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy2" UserSourceName="CountLastFormRevision">
            <SelectCommand>
              <DbCommand CommandType="Text" ModifiedByUser="true">
                <CommandText>SELECT     MAX(FORM_REVISION_ID)
FROM         FORM_REVISION</CommandText>
                <Parameters />
              </DbCommand>
            </SelectCommand>
          </DbSource>
          <DbSource ConnectionRef="AGNIS_FORMSConnectionString (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="CountLastForm" MethodsParameterType="CLR" Modifier="Public" Name="CountLastForm" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy3" UserSourceName="CountLastForm">
            <SelectCommand>
              <DbCommand CommandType="Text" ModifiedByUser="true">
                <CommandText>SELECT     MAX(FORM_ID) AS Expr1
FROM         FORM</CommandText>
                <Parameters />
              </DbCommand>
            </SelectCommand>
          </DbSource>
          <DbSource ConnectionRef="AGNIS_FORMSConnectionString (Settings)" DbObjectName="AGNIS_FORMS.dbo.MODULE" DbObjectType="Table" GenerateShortCommands="true" GeneratorSourceName="ModuleIDExist" MethodsParameterType="CLR" Modifier="Public" Name="ModuleIDExist" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy4" UserSourceName="ModuleIDExist">
            <SelectCommand>
              <DbCommand CommandType="Text" ModifiedByUser="true">
                <CommandText>SELECT     MODULE_ID, FORM_REVISION_ID, PUBLIC_ID, VERSION, ALTERNATE_METADATA_TYPE, ALTERNATE_METADATA_ID, 
                      REPEAT_SEQUENCE_NUMBER, MODIFICATION_TIME, MODIFICATION_USER_ID
FROM         MODULE
WHERE     (MODULE_ID = @MODULE_ID) AND (FORM_REVISION_ID = @FORM_REVISION_ID)</CommandText>
                <Parameters>
                  <Parameter AllowDbNull="false" AutogeneratedName="MODULE_ID" ColumnName="MODULE_ID" DataSourceName="AGNIS_FORMS.dbo.MODULE" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@MODULE_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="MODULE_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="false" AutogeneratedName="FORM_REVISION_ID" ColumnName="FORM_REVISION_ID" DataSourceName="AGNIS_FORMS.dbo.MODULE" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@FORM_REVISION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="FORM_REVISION_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                </Parameters>
              </DbCommand>
            </SelectCommand>
          </DbSource>
          <DbSource ConnectionRef="AGNIS_FORMSConnectionString (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="CountLastModuleFormRevision" MethodsParameterType="CLR" Modifier="Public" Name="CountLastModuleFormRevision" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy5" UserSourceName="CountLastModuleFormRevision">
            <SelectCommand>
              <DbCommand CommandType="Text" ModifiedByUser="true">
                <CommandText>SELECT     MAX(MODULE_ID) AS Expr1
FROM         MODULE
</CommandText>
                <Parameters />
              </DbCommand>
            </SelectCommand>
          </DbSource>
          <DbSource ConnectionRef="AGNIS_FORMSConnectionString (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="CountFormElementError" MethodsParameterType="CLR" Modifier="Public" Name="CountFormElementError" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy6" UserSourceName="CountFormElementError">
            <SelectCommand>
              <DbCommand CommandType="Text" ModifiedByUser="true">
                <CommandText>SELECT     COUNT(*) AS Expr1
FROM         FORM_ELEMENT_ERROR</CommandText>
                <Parameters />
              </DbCommand>
            </SelectCommand>
          </DbSource>
          <DbSource ConnectionRef="AGNIS_FORMSConnectionString (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="FormElementErrorIDExist" MethodsParameterType="CLR" Modifier="Public" Name="FormElementErrorIDExist" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy7" UserSourceName="FormElementErrorIDExist">
            <SelectCommand>
              <DbCommand CommandType="Text" ModifiedByUser="true">
                <CommandText>SELECT     COUNT(*) AS Expr1
FROM         FORM_ELEMENT_ERROR
WHERE     (FORM_ELEMENT_ERROR_ID = @FORM_ELEMENT_ERROR_ID)</CommandText>
                <Parameters>
                  <Parameter AllowDbNull="false" AutogeneratedName="FORM_ELEMENT_ERROR_ID" ColumnName="FORM_ELEMENT_ERROR_ID" DataSourceName="AGNIS_FORMS.dbo.FORM_ELEMENT_ERROR" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@FORM_ELEMENT_ERROR_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="FORM_ELEMENT_ERROR_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                </Parameters>
              </DbCommand>
            </SelectCommand>
          </DbSource>
          <DbSource ConnectionRef="AGNIS_FORMSConnectionString (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="CountQuestion" MethodsParameterType="CLR" Modifier="Public" Name="CountQuestion" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy8" UserSourceName="CountQuestion">
            <SelectCommand>
              <DbCommand CommandType="Text" ModifiedByUser="true">
                <CommandText>SELECT     COUNT(*) AS Expr1
FROM         QUESTION</CommandText>
                <Parameters />
              </DbCommand>
            </SelectCommand>
          </DbSource>
          <DbSource ConnectionRef="AGNIS_FORMSConnectionString (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="QuestionIDExist" MethodsParameterType="CLR" Modifier="Public" Name="QuestionIDExist" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy9" UserSourceName="QuestionIDExist">
            <SelectCommand>
              <DbCommand CommandType="Text" ModifiedByUser="true">
                <CommandText>SELECT     COUNT(*) AS Expr1
FROM         QUESTION
WHERE     (QUESTION_ID = @QUESTION_ID) AND (MODULE_ID = @MODULE_ID)</CommandText>
                <Parameters>
                  <Parameter AllowDbNull="false" AutogeneratedName="QUESTION_ID" ColumnName="QUESTION_ID" DataSourceName="AGNIS_FORMS.dbo.QUESTION" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@QUESTION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="QUESTION_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="false" AutogeneratedName="MODULE_ID" ColumnName="MODULE_ID" DataSourceName="AGNIS_FORMS.dbo.QUESTION" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@MODULE_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="MODULE_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                </Parameters>
              </DbCommand>
            </SelectCommand>
          </DbSource>
          <DbSource ConnectionRef="AGNIS_FORMSConnectionString (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="CountProcessingStatus" MethodsParameterType="CLR" Modifier="Public" Name="CountProcessingStatus" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy10" UserSourceName="CountProcessingStatus">
            <SelectCommand>
              <DbCommand CommandType="Text" ModifiedByUser="true">
                <CommandText>SELECT     COUNT(*) AS Expr1
FROM         PROCESSING_STATUS</CommandText>
                <Parameters />
              </DbCommand>
            </SelectCommand>
          </DbSource>
          <DbSource ConnectionRef="AGNIS_FORMSConnectionString (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="ProcessingStatusIDExist" MethodsParameterType="CLR" Modifier="Public" Name="ProcessingStatusIDExist" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy11" UserSourceName="ProcessingStatusIDExist">
            <SelectCommand>
              <DbCommand CommandType="Text" ModifiedByUser="true">
                <CommandText>SELECT     COUNT(*) AS Expr1
FROM         PROCESSING_STATUS
WHERE     (PROCESSING_STATUS_ID = @PROCESSING_STATUS_ID) AND (FORM_REVISION_ID = @FORM_REVISION_ID)</CommandText>
                <Parameters>
                  <Parameter AllowDbNull="false" AutogeneratedName="PROCESSING_STATUS_ID" ColumnName="PROCESSING_STATUS_ID" DataSourceName="AGNIS_FORMS.dbo.PROCESSING_STATUS" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@PROCESSING_STATUS_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="PROCESSING_STATUS_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                  <Parameter AllowDbNull="true" AutogeneratedName="FORM_REVISION_ID" ColumnName="FORM_REVISION_ID" DataSourceName="AGNIS_FORMS.dbo.PROCESSING_STATUS" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@FORM_REVISION_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="FORM_REVISION_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                </Parameters>
              </DbCommand>
            </SelectCommand>
          </DbSource>
          <DbSource ConnectionRef="AGNIS_FORMSConnectionString (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="CountInfoProcess" MethodsParameterType="CLR" Modifier="Public" Name="CountInfoProcess" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy12" UserSourceName="CountInfoProcess">
            <SelectCommand>
              <DbCommand CommandType="Text" ModifiedByUser="true">
                <CommandText>SELECT     COUNT(*) AS Expr1
FROM         INFORMATION_PROCESS</CommandText>
                <Parameters />
              </DbCommand>
            </SelectCommand>
          </DbSource>
          <DbSource ConnectionRef="AGNIS_FORMSConnectionString (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="InformationProcessIDExist" MethodsParameterType="CLR" Modifier="Public" Name="InformationProcessIDExist" QueryType="Scalar" ScalarCallRetval="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy13" UserSourceName="InformationProcessIDExist">
            <SelectCommand>
              <DbCommand CommandType="Text" ModifiedByUser="true">
                <CommandText>SELECT     COUNT(*) AS Expr1
FROM         INFORMATION_PROCESS
WHERE     (INFORMATION_PROCESS_ID = @INFORMATION_PROCESS_ID)</CommandText>
                <Parameters>
                  <Parameter AllowDbNull="false" AutogeneratedName="INFORMATION_PROCESS_ID" ColumnName="INFORMATION_PROCESS_ID" DataSourceName="AGNIS_FORMS.dbo.INFORMATION_PROCESS" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@INFORMATION_PROCESS_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="INFORMATION_PROCESS_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                </Parameters>
              </DbCommand>
            </SelectCommand>
          </DbSource>
          <DbSource ConnectionRef="AGNIS_FORMSConnectionString (Settings)" DbObjectName="AGNIS_FORMS.dbo.PROCESSING_STATUS" DbObjectType="Table" GenerateShortCommands="true" GeneratorSourceName="GetOutput_FR_id" MethodsParameterType="CLR" Modifier="Public" Name="GetOutput_FR_id" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy14" UserSourceName="GetOutput_FR_id">
            <SelectCommand>
              <DbCommand CommandType="Text" ModifiedByUser="true">
                <CommandText>SELECT        OUTPUT_FORM_REVISION_ID
FROM            PROCESSING_STATUS
WHERE        (FORM_REVISION_ID = @FR_ID)</CommandText>
                <Parameters>
                  <Parameter AllowDbNull="true" AutogeneratedName="FR_ID" ColumnName="FORM_REVISION_ID" DataSourceName="AGNIS_FORMS.dbo.PROCESSING_STATUS" DataTypeServer="bigint" DbType="Int64" Direction="Input" ParameterName="@FR_ID" Precision="0" ProviderType="BigInt" Scale="0" Size="8" SourceColumn="FORM_REVISION_ID" SourceColumnNullMapping="false" SourceVersion="Current" />
                </Parameters>
              </DbCommand>
            </SelectCommand>
          </DbSource>
        </Sources>
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="AGNIS_FORMSDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="AGNIS_FORMSDataSet" msprop:Generator_DataSetName="AGNIS_FORMSDataSet" msprop:EnableTableAdapterManager="True">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="FORM" msprop:Generator_UserTableName="FORM" msprop:Generator_RowDeletedName="FORMRowDeleted" msprop:Generator_RowChangedName="FORMRowChanged" msprop:Generator_RowClassName="FORMRow" msprop:Generator_RowChangingName="FORMRowChanging" msprop:Generator_RowEvArgName="FORMRowChangeEvent" msprop:Generator_RowEvHandlerName="FORMRowChangeEventHandler" msprop:Generator_TableClassName="FORMDataTable" msprop:Generator_TableVarName="tableFORM" msprop:Generator_RowDeletingName="FORMRowDeleting" msprop:Generator_TablePropName="FORM">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="FORM_ID" msdata:ReadOnly="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="FORM_ID" msprop:Generator_ColumnVarNameInTable="columnFORM_ID" msprop:Generator_ColumnPropNameInRow="FORM_ID" msprop:Generator_ColumnPropNameInTable="FORM_IDColumn" type="xs:long" />
              <xs:element name="PUBLISHER_INSTITUTION_ID" msprop:Generator_UserColumnName="PUBLISHER_INSTITUTION_ID" msprop:Generator_ColumnVarNameInTable="columnPUBLISHER_INSTITUTION_ID" msprop:Generator_ColumnPropNameInRow="PUBLISHER_INSTITUTION_ID" msprop:Generator_ColumnPropNameInTable="PUBLISHER_INSTITUTION_IDColumn" type="xs:long" minOccurs="0" />
              <xs:element name="INSTANCE_ID" msprop:Generator_UserColumnName="INSTANCE_ID" msprop:Generator_ColumnVarNameInTable="columnINSTANCE_ID" msprop:Generator_ColumnPropNameInRow="INSTANCE_ID" msprop:Generator_ColumnPropNameInTable="INSTANCE_IDColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ORIGINATOR_INSTITUTION_ID" msprop:Generator_UserColumnName="ORIGINATOR_INSTITUTION_ID" msprop:Generator_ColumnVarNameInTable="columnORIGINATOR_INSTITUTION_ID" msprop:Generator_ColumnPropNameInRow="ORIGINATOR_INSTITUTION_ID" msprop:Generator_ColumnPropNameInTable="ORIGINATOR_INSTITUTION_IDColumn" type="xs:long" minOccurs="0" />
              <xs:element name="PUBLIC_ID" msprop:Generator_UserColumnName="PUBLIC_ID" msprop:Generator_ColumnVarNameInTable="columnPUBLIC_ID" msprop:Generator_ColumnPropNameInRow="PUBLIC_ID" msprop:Generator_ColumnPropNameInTable="PUBLIC_IDColumn" type="xs:long" minOccurs="0" />
              <xs:element name="VERSION" msprop:Generator_UserColumnName="VERSION" msprop:Generator_ColumnVarNameInTable="columnVERSION" msprop:Generator_ColumnPropNameInRow="VERSION" msprop:Generator_ColumnPropNameInTable="VERSIONColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="ALTERNATE_METADATA_TYPE" msprop:Generator_UserColumnName="ALTERNATE_METADATA_TYPE" msprop:Generator_ColumnVarNameInTable="columnALTERNATE_METADATA_TYPE" msprop:Generator_ColumnPropNameInRow="ALTERNATE_METADATA_TYPE" msprop:Generator_ColumnPropNameInTable="ALTERNATE_METADATA_TYPEColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ALTERNATE_METADATA_ID" msprop:Generator_UserColumnName="ALTERNATE_METADATA_ID" msprop:Generator_ColumnVarNameInTable="columnALTERNATE_METADATA_ID" msprop:Generator_ColumnPropNameInRow="ALTERNATE_METADATA_ID" msprop:Generator_ColumnPropNameInTable="ALTERNATE_METADATA_IDColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CURRENT_FORM_REVISION_SEQ_NUM" msprop:Generator_UserColumnName="CURRENT_FORM_REVISION_SEQ_NUM" msprop:Generator_ColumnVarNameInTable="columnCURRENT_FORM_REVISION_SEQ_NUM" msprop:Generator_ColumnPropNameInRow="CURRENT_FORM_REVISION_SEQ_NUM" msprop:Generator_ColumnPropNameInTable="CURRENT_FORM_REVISION_SEQ_NUMColumn" type="xs:int" minOccurs="0" />
              <xs:element name="MODIFICATION_TIME" msprop:Generator_UserColumnName="MODIFICATION_TIME" msprop:Generator_ColumnVarNameInTable="columnMODIFICATION_TIME" msprop:Generator_ColumnPropNameInRow="MODIFICATION_TIME" msprop:Generator_ColumnPropNameInTable="MODIFICATION_TIMEColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="MODIFICATION_USER_ID" msprop:Generator_UserColumnName="MODIFICATION_USER_ID" msprop:Generator_ColumnVarNameInTable="columnMODIFICATION_USER_ID" msprop:Generator_ColumnPropNameInRow="MODIFICATION_USER_ID" msprop:Generator_ColumnPropNameInTable="MODIFICATION_USER_IDColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="FORM_ELEMENT_ERROR" msprop:Generator_UserTableName="FORM_ELEMENT_ERROR" msprop:Generator_RowDeletedName="FORM_ELEMENT_ERRORRowDeleted" msprop:Generator_RowChangedName="FORM_ELEMENT_ERRORRowChanged" msprop:Generator_RowClassName="FORM_ELEMENT_ERRORRow" msprop:Generator_RowChangingName="FORM_ELEMENT_ERRORRowChanging" msprop:Generator_RowEvArgName="FORM_ELEMENT_ERRORRowChangeEvent" msprop:Generator_RowEvHandlerName="FORM_ELEMENT_ERRORRowChangeEventHandler" msprop:Generator_TableClassName="FORM_ELEMENT_ERRORDataTable" msprop:Generator_TableVarName="tableFORM_ELEMENT_ERROR" msprop:Generator_RowDeletingName="FORM_ELEMENT_ERRORRowDeleting" msprop:Generator_TablePropName="FORM_ELEMENT_ERROR">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="FORM_ELEMENT_ERROR_ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="FORM_ELEMENT_ERROR_ID" msprop:Generator_ColumnVarNameInTable="columnFORM_ELEMENT_ERROR_ID" msprop:Generator_ColumnPropNameInRow="FORM_ELEMENT_ERROR_ID" msprop:Generator_ColumnPropNameInTable="FORM_ELEMENT_ERROR_IDColumn" type="xs:long" />
              <xs:element name="FORM_REVISION_ID" msprop:Generator_UserColumnName="FORM_REVISION_ID" msprop:Generator_ColumnVarNameInTable="columnFORM_REVISION_ID" msprop:Generator_ColumnPropNameInRow="FORM_REVISION_ID" msprop:Generator_ColumnPropNameInTable="FORM_REVISION_IDColumn" type="xs:long" minOccurs="0" />
              <xs:element name="QUESTION_ID" msprop:Generator_UserColumnName="QUESTION_ID" msprop:Generator_ColumnVarNameInTable="columnQUESTION_ID" msprop:Generator_ColumnPropNameInRow="QUESTION_ID" msprop:Generator_ColumnPropNameInTable="QUESTION_IDColumn" type="xs:long" minOccurs="0" />
              <xs:element name="ERROR_TYPE" msprop:Generator_UserColumnName="ERROR_TYPE" msprop:Generator_ColumnVarNameInTable="columnERROR_TYPE" msprop:Generator_ColumnPropNameInRow="ERROR_TYPE" msprop:Generator_ColumnPropNameInTable="ERROR_TYPEColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ERROR_MESSAGE" msprop:Generator_UserColumnName="ERROR_MESSAGE" msprop:Generator_ColumnVarNameInTable="columnERROR_MESSAGE" msprop:Generator_ColumnPropNameInRow="ERROR_MESSAGE" msprop:Generator_ColumnPropNameInTable="ERROR_MESSAGEColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ERROR_RAW_DATA" msprop:Generator_UserColumnName="ERROR_RAW_DATA" msprop:Generator_ColumnVarNameInTable="columnERROR_RAW_DATA" msprop:Generator_ColumnPropNameInRow="ERROR_RAW_DATA" msprop:Generator_ColumnPropNameInTable="ERROR_RAW_DATAColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MODIFICATION_TIME" msprop:Generator_UserColumnName="MODIFICATION_TIME" msprop:Generator_ColumnVarNameInTable="columnMODIFICATION_TIME" msprop:Generator_ColumnPropNameInRow="MODIFICATION_TIME" msprop:Generator_ColumnPropNameInTable="MODIFICATION_TIMEColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="MODIFICATION_USER_ID" msprop:Generator_UserColumnName="MODIFICATION_USER_ID" msprop:Generator_ColumnVarNameInTable="columnMODIFICATION_USER_ID" msprop:Generator_ColumnPropNameInRow="MODIFICATION_USER_ID" msprop:Generator_ColumnPropNameInTable="MODIFICATION_USER_IDColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="INFORMATION_PROCESS" msprop:Generator_UserTableName="INFORMATION_PROCESS" msprop:Generator_RowDeletedName="INFORMATION_PROCESSRowDeleted" msprop:Generator_RowChangedName="INFORMATION_PROCESSRowChanged" msprop:Generator_RowClassName="INFORMATION_PROCESSRow" msprop:Generator_RowChangingName="INFORMATION_PROCESSRowChanging" msprop:Generator_RowEvArgName="INFORMATION_PROCESSRowChangeEvent" msprop:Generator_RowEvHandlerName="INFORMATION_PROCESSRowChangeEventHandler" msprop:Generator_TableClassName="INFORMATION_PROCESSDataTable" msprop:Generator_TableVarName="tableINFORMATION_PROCESS" msprop:Generator_RowDeletingName="INFORMATION_PROCESSRowDeleting" msprop:Generator_TablePropName="INFORMATION_PROCESS">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="INFORMATION_PROCESS_ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="INFORMATION_PROCESS_ID" msprop:Generator_ColumnVarNameInTable="columnINFORMATION_PROCESS_ID" msprop:Generator_ColumnPropNameInRow="INFORMATION_PROCESS_ID" msprop:Generator_ColumnPropNameInTable="INFORMATION_PROCESS_IDColumn" type="xs:long" />
              <xs:element name="UNIQUE_NAME" msprop:Generator_UserColumnName="UNIQUE_NAME" msprop:Generator_ColumnVarNameInTable="columnUNIQUE_NAME" msprop:Generator_ColumnPropNameInRow="UNIQUE_NAME" msprop:Generator_ColumnPropNameInTable="UNIQUE_NAMEColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="DESCRIPTION" msprop:Generator_UserColumnName="DESCRIPTION" msprop:Generator_ColumnVarNameInTable="columnDESCRIPTION" msprop:Generator_ColumnPropNameInRow="DESCRIPTION" msprop:Generator_ColumnPropNameInTable="DESCRIPTIONColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PROCESS_TYPE" msprop:Generator_UserColumnName="PROCESS_TYPE" msprop:Generator_ColumnVarNameInTable="columnPROCESS_TYPE" msprop:Generator_ColumnPropNameInRow="PROCESS_TYPE" msprop:Generator_ColumnPropNameInTable="PROCESS_TYPEColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PROCESS_STATUS" msprop:Generator_UserColumnName="PROCESS_STATUS" msprop:Generator_ColumnVarNameInTable="columnPROCESS_STATUS" msprop:Generator_ColumnPropNameInRow="PROCESS_STATUS" msprop:Generator_ColumnPropNameInTable="PROCESS_STATUSColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PROCESSING_RANK" msprop:Generator_UserColumnName="PROCESSING_RANK" msprop:Generator_ColumnVarNameInTable="columnPROCESSING_RANK" msprop:Generator_ColumnPropNameInRow="PROCESSING_RANK" msprop:Generator_ColumnPropNameInTable="PROCESSING_RANKColumn" type="xs:long" minOccurs="0" />
              <xs:element name="START_TIME" msprop:Generator_UserColumnName="START_TIME" msprop:Generator_ColumnVarNameInTable="columnSTART_TIME" msprop:Generator_ColumnPropNameInRow="START_TIME" msprop:Generator_ColumnPropNameInTable="START_TIMEColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="END_TIME" msprop:Generator_UserColumnName="END_TIME" msprop:Generator_ColumnVarNameInTable="columnEND_TIME" msprop:Generator_ColumnPropNameInRow="END_TIME" msprop:Generator_ColumnPropNameInTable="END_TIMEColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="SUBSCRIBER_UNIQUE_NAME" msprop:Generator_UserColumnName="SUBSCRIBER_UNIQUE_NAME" msprop:Generator_ColumnVarNameInTable="columnSUBSCRIBER_UNIQUE_NAME" msprop:Generator_ColumnPropNameInRow="SUBSCRIBER_UNIQUE_NAME" msprop:Generator_ColumnPropNameInTable="SUBSCRIBER_UNIQUE_NAMEColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ORIGINATOR_UNIQUE_NAME" msprop:Generator_UserColumnName="ORIGINATOR_UNIQUE_NAME" msprop:Generator_ColumnVarNameInTable="columnORIGINATOR_UNIQUE_NAME" msprop:Generator_ColumnPropNameInRow="ORIGINATOR_UNIQUE_NAME" msprop:Generator_ColumnPropNameInTable="ORIGINATOR_UNIQUE_NAMEColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PUBLISHER_UNIQUE_NAME" msprop:Generator_UserColumnName="PUBLISHER_UNIQUE_NAME" msprop:Generator_ColumnVarNameInTable="columnPUBLISHER_UNIQUE_NAME" msprop:Generator_ColumnPropNameInRow="PUBLISHER_UNIQUE_NAME" msprop:Generator_ColumnPropNameInTable="PUBLISHER_UNIQUE_NAMEColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="RETRIEVAL_SEQ_NUM" msprop:Generator_UserColumnName="RETRIEVAL_SEQ_NUM" msprop:Generator_ColumnVarNameInTable="columnRETRIEVAL_SEQ_NUM" msprop:Generator_ColumnPropNameInRow="RETRIEVAL_SEQ_NUM" msprop:Generator_ColumnPropNameInTable="RETRIEVAL_SEQ_NUMColumn" type="xs:long" minOccurs="0" />
              <xs:element name="SERVICE_URL" msprop:Generator_UserColumnName="SERVICE_URL" msprop:Generator_ColumnVarNameInTable="columnSERVICE_URL" msprop:Generator_ColumnPropNameInRow="SERVICE_URL" msprop:Generator_ColumnPropNameInTable="SERVICE_URLColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MODIFICATION_TIME" msprop:Generator_UserColumnName="MODIFICATION_TIME" msprop:Generator_ColumnVarNameInTable="columnMODIFICATION_TIME" msprop:Generator_ColumnPropNameInRow="MODIFICATION_TIME" msprop:Generator_ColumnPropNameInTable="MODIFICATION_TIMEColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="MODIFICATION_USER_ID" msprop:Generator_UserColumnName="MODIFICATION_USER_ID" msprop:Generator_ColumnVarNameInTable="columnMODIFICATION_USER_ID" msprop:Generator_ColumnPropNameInRow="MODIFICATION_USER_ID" msprop:Generator_ColumnPropNameInTable="MODIFICATION_USER_IDColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="INSTITUTION" msprop:Generator_UserTableName="INSTITUTION" msprop:Generator_RowDeletedName="INSTITUTIONRowDeleted" msprop:Generator_RowChangedName="INSTITUTIONRowChanged" msprop:Generator_RowClassName="INSTITUTIONRow" msprop:Generator_RowChangingName="INSTITUTIONRowChanging" msprop:Generator_RowEvArgName="INSTITUTIONRowChangeEvent" msprop:Generator_RowEvHandlerName="INSTITUTIONRowChangeEventHandler" msprop:Generator_TableClassName="INSTITUTIONDataTable" msprop:Generator_TableVarName="tableINSTITUTION" msprop:Generator_RowDeletingName="INSTITUTIONRowDeleting" msprop:Generator_TablePropName="INSTITUTION">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="INSTITUTION_ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="INSTITUTION_ID" msprop:Generator_ColumnVarNameInTable="columnINSTITUTION_ID" msprop:Generator_ColumnPropNameInRow="INSTITUTION_ID" msprop:Generator_ColumnPropNameInTable="INSTITUTION_IDColumn" type="xs:long" />
              <xs:element name="UNIQUE_NAME" msprop:Generator_UserColumnName="UNIQUE_NAME" msprop:Generator_ColumnVarNameInTable="columnUNIQUE_NAME" msprop:Generator_ColumnPropNameInRow="UNIQUE_NAME" msprop:Generator_ColumnPropNameInTable="UNIQUE_NAMEColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CURRENT_RETRIEVAL_SEQ_NUM" msprop:Generator_UserColumnName="CURRENT_RETRIEVAL_SEQ_NUM" msprop:Generator_ColumnVarNameInTable="columnCURRENT_RETRIEVAL_SEQ_NUM" msprop:Generator_ColumnPropNameInRow="CURRENT_RETRIEVAL_SEQ_NUM" msprop:Generator_ColumnPropNameInTable="CURRENT_RETRIEVAL_SEQ_NUMColumn" type="xs:long" minOccurs="0" />
              <xs:element name="MODIFICATION_TIME" msprop:Generator_UserColumnName="MODIFICATION_TIME" msprop:Generator_ColumnVarNameInTable="columnMODIFICATION_TIME" msprop:Generator_ColumnPropNameInRow="MODIFICATION_TIME" msprop:Generator_ColumnPropNameInTable="MODIFICATION_TIMEColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="MODIFICATION_USER_ID" msprop:Generator_UserColumnName="MODIFICATION_USER_ID" msprop:Generator_ColumnVarNameInTable="columnMODIFICATION_USER_ID" msprop:Generator_ColumnPropNameInRow="MODIFICATION_USER_ID" msprop:Generator_ColumnPropNameInTable="MODIFICATION_USER_IDColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="MODULE" msprop:Generator_UserTableName="MODULE" msprop:Generator_RowDeletedName="MODULERowDeleted" msprop:Generator_RowChangedName="MODULERowChanged" msprop:Generator_RowClassName="MODULERow" msprop:Generator_RowChangingName="MODULERowChanging" msprop:Generator_RowEvArgName="MODULERowChangeEvent" msprop:Generator_RowEvHandlerName="MODULERowChangeEventHandler" msprop:Generator_TableClassName="MODULEDataTable" msprop:Generator_TableVarName="tableMODULE" msprop:Generator_RowDeletingName="MODULERowDeleting" msprop:Generator_TablePropName="MODULE">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="MODULE_ID" msdata:ReadOnly="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="MODULE_ID" msprop:Generator_ColumnVarNameInTable="columnMODULE_ID" msprop:Generator_ColumnPropNameInRow="MODULE_ID" msprop:Generator_ColumnPropNameInTable="MODULE_IDColumn" type="xs:long" />
              <xs:element name="FORM_REVISION_ID" msprop:Generator_UserColumnName="FORM_REVISION_ID" msprop:Generator_ColumnVarNameInTable="columnFORM_REVISION_ID" msprop:Generator_ColumnPropNameInRow="FORM_REVISION_ID" msprop:Generator_ColumnPropNameInTable="FORM_REVISION_IDColumn" type="xs:long" />
              <xs:element name="PUBLIC_ID" msprop:Generator_UserColumnName="PUBLIC_ID" msprop:Generator_ColumnVarNameInTable="columnPUBLIC_ID" msprop:Generator_ColumnPropNameInRow="PUBLIC_ID" msprop:Generator_ColumnPropNameInTable="PUBLIC_IDColumn" type="xs:long" minOccurs="0" />
              <xs:element name="VERSION" msprop:Generator_UserColumnName="VERSION" msprop:Generator_ColumnVarNameInTable="columnVERSION" msprop:Generator_ColumnPropNameInRow="VERSION" msprop:Generator_ColumnPropNameInTable="VERSIONColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="ALTERNATE_METADATA_TYPE" msprop:Generator_UserColumnName="ALTERNATE_METADATA_TYPE" msprop:Generator_ColumnVarNameInTable="columnALTERNATE_METADATA_TYPE" msprop:Generator_ColumnPropNameInRow="ALTERNATE_METADATA_TYPE" msprop:Generator_ColumnPropNameInTable="ALTERNATE_METADATA_TYPEColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ALTERNATE_METADATA_ID" msprop:Generator_UserColumnName="ALTERNATE_METADATA_ID" msprop:Generator_ColumnVarNameInTable="columnALTERNATE_METADATA_ID" msprop:Generator_ColumnPropNameInRow="ALTERNATE_METADATA_ID" msprop:Generator_ColumnPropNameInTable="ALTERNATE_METADATA_IDColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="REPEAT_SEQUENCE_NUMBER" msprop:Generator_UserColumnName="REPEAT_SEQUENCE_NUMBER" msprop:Generator_ColumnVarNameInTable="columnREPEAT_SEQUENCE_NUMBER" msprop:Generator_ColumnPropNameInRow="REPEAT_SEQUENCE_NUMBER" msprop:Generator_ColumnPropNameInTable="REPEAT_SEQUENCE_NUMBERColumn" type="xs:int" />
              <xs:element name="MODIFICATION_TIME" msprop:Generator_UserColumnName="MODIFICATION_TIME" msprop:Generator_ColumnVarNameInTable="columnMODIFICATION_TIME" msprop:Generator_ColumnPropNameInRow="MODIFICATION_TIME" msprop:Generator_ColumnPropNameInTable="MODIFICATION_TIMEColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="MODIFICATION_USER_ID" msprop:Generator_UserColumnName="MODIFICATION_USER_ID" msprop:Generator_ColumnVarNameInTable="columnMODIFICATION_USER_ID" msprop:Generator_ColumnPropNameInRow="MODIFICATION_USER_ID" msprop:Generator_ColumnPropNameInTable="MODIFICATION_USER_IDColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="PROCESSING_STATUS" msprop:Generator_UserTableName="PROCESSING_STATUS" msprop:Generator_RowDeletedName="PROCESSING_STATUSRowDeleted" msprop:Generator_RowChangedName="PROCESSING_STATUSRowChanged" msprop:Generator_RowClassName="PROCESSING_STATUSRow" msprop:Generator_RowChangingName="PROCESSING_STATUSRowChanging" msprop:Generator_RowEvArgName="PROCESSING_STATUSRowChangeEvent" msprop:Generator_RowEvHandlerName="PROCESSING_STATUSRowChangeEventHandler" msprop:Generator_TableClassName="PROCESSING_STATUSDataTable" msprop:Generator_TableVarName="tablePROCESSING_STATUS" msprop:Generator_RowDeletingName="PROCESSING_STATUSRowDeleting" msprop:Generator_TablePropName="PROCESSING_STATUS">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="PROCESSING_STATUS_ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="PROCESSING_STATUS_ID" msprop:Generator_ColumnVarNameInTable="columnPROCESSING_STATUS_ID" msprop:Generator_ColumnPropNameInRow="PROCESSING_STATUS_ID" msprop:Generator_ColumnPropNameInTable="PROCESSING_STATUS_IDColumn" type="xs:long" />
              <xs:element name="INFORMATION_PROCESS_ID" msprop:Generator_UserColumnName="INFORMATION_PROCESS_ID" msprop:Generator_ColumnVarNameInTable="columnINFORMATION_PROCESS_ID" msprop:Generator_ColumnPropNameInRow="INFORMATION_PROCESS_ID" msprop:Generator_ColumnPropNameInTable="INFORMATION_PROCESS_IDColumn" type="xs:long" />
              <xs:element name="FORM_REVISION_ID" msprop:Generator_UserColumnName="FORM_REVISION_ID" msprop:Generator_ColumnVarNameInTable="columnFORM_REVISION_ID" msprop:Generator_ColumnPropNameInRow="FORM_REVISION_ID" msprop:Generator_ColumnPropNameInTable="FORM_REVISION_IDColumn" type="xs:long" minOccurs="0" />
              <xs:element name="PARENT_PROCESSING_STATUS_ID" msprop:Generator_UserColumnName="PARENT_PROCESSING_STATUS_ID" msprop:Generator_ColumnVarNameInTable="columnPARENT_PROCESSING_STATUS_ID" msprop:Generator_ColumnPropNameInRow="PARENT_PROCESSING_STATUS_ID" msprop:Generator_ColumnPropNameInTable="PARENT_PROCESSING_STATUS_IDColumn" type="xs:long" minOccurs="0" />
              <xs:element name="PROCESSING_RANK" msprop:Generator_UserColumnName="PROCESSING_RANK" msprop:Generator_ColumnVarNameInTable="columnPROCESSING_RANK" msprop:Generator_ColumnPropNameInRow="PROCESSING_RANK" msprop:Generator_ColumnPropNameInTable="PROCESSING_RANKColumn" type="xs:long" minOccurs="0" />
              <xs:element name="ATTEMPT_NUMBER" msprop:Generator_UserColumnName="ATTEMPT_NUMBER" msprop:Generator_ColumnVarNameInTable="columnATTEMPT_NUMBER" msprop:Generator_ColumnPropNameInRow="ATTEMPT_NUMBER" msprop:Generator_ColumnPropNameInTable="ATTEMPT_NUMBERColumn" type="xs:long" minOccurs="0" />
              <xs:element name="OUTPUT_FORM_REVISION_ID" msprop:Generator_UserColumnName="OUTPUT_FORM_REVISION_ID" msprop:Generator_ColumnVarNameInTable="columnOUTPUT_FORM_REVISION_ID" msprop:Generator_ColumnPropNameInRow="OUTPUT_FORM_REVISION_ID" msprop:Generator_ColumnPropNameInTable="OUTPUT_FORM_REVISION_IDColumn" type="xs:long" minOccurs="0" />
              <xs:element name="VALUE" msprop:Generator_UserColumnName="VALUE" msprop:Generator_ColumnVarNameInTable="columnVALUE" msprop:Generator_ColumnPropNameInRow="VALUE" msprop:Generator_ColumnPropNameInTable="VALUEColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="START_TIME" msprop:Generator_UserColumnName="START_TIME" msprop:Generator_ColumnVarNameInTable="columnSTART_TIME" msprop:Generator_ColumnPropNameInRow="START_TIME" msprop:Generator_ColumnPropNameInTable="START_TIMEColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="END_TIME" msprop:Generator_UserColumnName="END_TIME" msprop:Generator_ColumnVarNameInTable="columnEND_TIME" msprop:Generator_ColumnPropNameInRow="END_TIME" msprop:Generator_ColumnPropNameInTable="END_TIMEColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="NOTE" msprop:Generator_UserColumnName="NOTE" msprop:Generator_ColumnVarNameInTable="columnNOTE" msprop:Generator_ColumnPropNameInRow="NOTE" msprop:Generator_ColumnPropNameInTable="NOTEColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MODIFICATION_TIME" msprop:Generator_UserColumnName="MODIFICATION_TIME" msprop:Generator_ColumnVarNameInTable="columnMODIFICATION_TIME" msprop:Generator_ColumnPropNameInRow="MODIFICATION_TIME" msprop:Generator_ColumnPropNameInTable="MODIFICATION_TIMEColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="MODIFICATION_USER_ID" msprop:Generator_UserColumnName="MODIFICATION_USER_ID" msprop:Generator_ColumnVarNameInTable="columnMODIFICATION_USER_ID" msprop:Generator_ColumnPropNameInRow="MODIFICATION_USER_ID" msprop:Generator_ColumnPropNameInTable="MODIFICATION_USER_IDColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="QUESTION" msprop:Generator_UserTableName="QUESTION" msprop:Generator_RowDeletedName="QUESTIONRowDeleted" msprop:Generator_RowChangedName="QUESTIONRowChanged" msprop:Generator_RowClassName="QUESTIONRow" msprop:Generator_RowChangingName="QUESTIONRowChanging" msprop:Generator_RowEvArgName="QUESTIONRowChangeEvent" msprop:Generator_RowEvHandlerName="QUESTIONRowChangeEventHandler" msprop:Generator_TableClassName="QUESTIONDataTable" msprop:Generator_TableVarName="tableQUESTION" msprop:Generator_RowDeletingName="QUESTIONRowDeleting" msprop:Generator_TablePropName="QUESTION">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="QUESTION_ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="QUESTION_ID" msprop:Generator_ColumnVarNameInTable="columnQUESTION_ID" msprop:Generator_ColumnPropNameInRow="QUESTION_ID" msprop:Generator_ColumnPropNameInTable="QUESTION_IDColumn" type="xs:long" />
              <xs:element name="MODULE_ID" msprop:Generator_UserColumnName="MODULE_ID" msprop:Generator_ColumnVarNameInTable="columnMODULE_ID" msprop:Generator_ColumnPropNameInRow="MODULE_ID" msprop:Generator_ColumnPropNameInTable="MODULE_IDColumn" type="xs:long" />
              <xs:element name="DATA_ELEMENT_PUBLIC_ID" msprop:Generator_UserColumnName="DATA_ELEMENT_PUBLIC_ID" msprop:Generator_ColumnVarNameInTable="columnDATA_ELEMENT_PUBLIC_ID" msprop:Generator_ColumnPropNameInRow="DATA_ELEMENT_PUBLIC_ID" msprop:Generator_ColumnPropNameInTable="DATA_ELEMENT_PUBLIC_IDColumn" type="xs:long" minOccurs="0" />
              <xs:element name="DATA_ELEMENT_VERSION" msprop:Generator_UserColumnName="DATA_ELEMENT_VERSION" msprop:Generator_ColumnVarNameInTable="columnDATA_ELEMENT_VERSION" msprop:Generator_ColumnPropNameInRow="DATA_ELEMENT_VERSION" msprop:Generator_ColumnPropNameInTable="DATA_ELEMENT_VERSIONColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="ALTERNATE_METADATA_TYPE" msprop:Generator_UserColumnName="ALTERNATE_METADATA_TYPE" msprop:Generator_ColumnVarNameInTable="columnALTERNATE_METADATA_TYPE" msprop:Generator_ColumnPropNameInRow="ALTERNATE_METADATA_TYPE" msprop:Generator_ColumnPropNameInTable="ALTERNATE_METADATA_TYPEColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ALTERNATE_METADATA_ID" msprop:Generator_UserColumnName="ALTERNATE_METADATA_ID" msprop:Generator_ColumnVarNameInTable="columnALTERNATE_METADATA_ID" msprop:Generator_ColumnPropNameInRow="ALTERNATE_METADATA_ID" msprop:Generator_ColumnPropNameInTable="ALTERNATE_METADATA_IDColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="VALUE" msprop:Generator_UserColumnName="VALUE" msprop:Generator_ColumnVarNameInTable="columnVALUE" msprop:Generator_ColumnPropNameInRow="VALUE" msprop:Generator_ColumnPropNameInTable="VALUEColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ALTERNATE_VALUE" msprop:Generator_UserColumnName="ALTERNATE_VALUE" msprop:Generator_ColumnVarNameInTable="columnALTERNATE_VALUE" msprop:Generator_ColumnPropNameInRow="ALTERNATE_VALUE" msprop:Generator_ColumnPropNameInTable="ALTERNATE_VALUEColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ERROR_EXCEPTION" msprop:Generator_UserColumnName="ERROR_EXCEPTION" msprop:Generator_ColumnVarNameInTable="columnERROR_EXCEPTION" msprop:Generator_ColumnPropNameInRow="ERROR_EXCEPTION" msprop:Generator_ColumnPropNameInTable="ERROR_EXCEPTIONColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="20" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="DELETE_FLAG" msprop:Generator_UserColumnName="DELETE_FLAG" msprop:Generator_ColumnVarNameInTable="columnDELETE_FLAG" msprop:Generator_ColumnPropNameInRow="DELETE_FLAG" msprop:Generator_ColumnPropNameInTable="DELETE_FLAGColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="VALUE_MEANING_PUBLIC_ID" msprop:Generator_UserColumnName="VALUE_MEANING_PUBLIC_ID" msprop:Generator_ColumnVarNameInTable="columnVALUE_MEANING_PUBLIC_ID" msprop:Generator_ColumnPropNameInRow="VALUE_MEANING_PUBLIC_ID" msprop:Generator_ColumnPropNameInTable="VALUE_MEANING_PUBLIC_IDColumn" type="xs:long" minOccurs="0" />
              <xs:element name="VALUE_MEANING_VERSION" msprop:Generator_UserColumnName="VALUE_MEANING_VERSION" msprop:Generator_ColumnVarNameInTable="columnVALUE_MEANING_VERSION" msprop:Generator_ColumnPropNameInRow="VALUE_MEANING_VERSION" msprop:Generator_ColumnPropNameInTable="VALUE_MEANING_VERSIONColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="MODIFICATION_TIME" msprop:Generator_UserColumnName="MODIFICATION_TIME" msprop:Generator_ColumnVarNameInTable="columnMODIFICATION_TIME" msprop:Generator_ColumnPropNameInRow="MODIFICATION_TIME" msprop:Generator_ColumnPropNameInTable="MODIFICATION_TIMEColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="MODIFICATION_USER_ID" msprop:Generator_UserColumnName="MODIFICATION_USER_ID" msprop:Generator_ColumnVarNameInTable="columnMODIFICATION_USER_ID" msprop:Generator_ColumnPropNameInRow="MODIFICATION_USER_ID" msprop:Generator_ColumnPropNameInTable="MODIFICATION_USER_IDColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="RETRIEVAL" msprop:Generator_UserTableName="RETRIEVAL" msprop:Generator_RowDeletedName="RETRIEVALRowDeleted" msprop:Generator_RowChangedName="RETRIEVALRowChanged" msprop:Generator_RowClassName="RETRIEVALRow" msprop:Generator_RowChangingName="RETRIEVALRowChanging" msprop:Generator_RowEvArgName="RETRIEVALRowChangeEvent" msprop:Generator_RowEvHandlerName="RETRIEVALRowChangeEventHandler" msprop:Generator_TableClassName="RETRIEVALDataTable" msprop:Generator_TableVarName="tableRETRIEVAL" msprop:Generator_RowDeletingName="RETRIEVALRowDeleting" msprop:Generator_TablePropName="RETRIEVAL">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="RETRIEVAL_ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="RETRIEVAL_ID" msprop:Generator_ColumnVarNameInTable="columnRETRIEVAL_ID" msprop:Generator_ColumnPropNameInRow="RETRIEVAL_ID" msprop:Generator_ColumnPropNameInTable="RETRIEVAL_IDColumn" type="xs:long" />
              <xs:element name="SUBSCRIBER_INSTITUTION_ID" msprop:Generator_UserColumnName="SUBSCRIBER_INSTITUTION_ID" msprop:Generator_ColumnVarNameInTable="columnSUBSCRIBER_INSTITUTION_ID" msprop:Generator_ColumnPropNameInRow="SUBSCRIBER_INSTITUTION_ID" msprop:Generator_ColumnPropNameInTable="SUBSCRIBER_INSTITUTION_IDColumn" type="xs:long" />
              <xs:element name="RETRIEVAL_SEQ_NUM" msprop:Generator_UserColumnName="RETRIEVAL_SEQ_NUM" msprop:Generator_ColumnVarNameInTable="columnRETRIEVAL_SEQ_NUM" msprop:Generator_ColumnPropNameInRow="RETRIEVAL_SEQ_NUM" msprop:Generator_ColumnPropNameInTable="RETRIEVAL_SEQ_NUMColumn" type="xs:long" />
              <xs:element name="TRANSMITTED_TIME" msprop:Generator_UserColumnName="TRANSMITTED_TIME" msprop:Generator_ColumnVarNameInTable="columnTRANSMITTED_TIME" msprop:Generator_ColumnPropNameInRow="TRANSMITTED_TIME" msprop:Generator_ColumnPropNameInTable="TRANSMITTED_TIMEColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="RETRIEVAL_ACKNOWLEDGED_STATUS" msprop:Generator_UserColumnName="RETRIEVAL_ACKNOWLEDGED_STATUS" msprop:Generator_ColumnVarNameInTable="columnRETRIEVAL_ACKNOWLEDGED_STATUS" msprop:Generator_ColumnPropNameInRow="RETRIEVAL_ACKNOWLEDGED_STATUS" msprop:Generator_ColumnPropNameInTable="RETRIEVAL_ACKNOWLEDGED_STATUSColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="RETRIEVAL_ACKNOWLEDGED_TIME" msprop:Generator_UserColumnName="RETRIEVAL_ACKNOWLEDGED_TIME" msprop:Generator_ColumnVarNameInTable="columnRETRIEVAL_ACKNOWLEDGED_TIME" msprop:Generator_ColumnPropNameInRow="RETRIEVAL_ACKNOWLEDGED_TIME" msprop:Generator_ColumnPropNameInTable="RETRIEVAL_ACKNOWLEDGED_TIMEColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="MODIFICATION_TIME" msprop:Generator_UserColumnName="MODIFICATION_TIME" msprop:Generator_ColumnVarNameInTable="columnMODIFICATION_TIME" msprop:Generator_ColumnPropNameInRow="MODIFICATION_TIME" msprop:Generator_ColumnPropNameInTable="MODIFICATION_TIMEColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="MODIFICATION_USER_ID" msprop:Generator_UserColumnName="MODIFICATION_USER_ID" msprop:Generator_ColumnVarNameInTable="columnMODIFICATION_USER_ID" msprop:Generator_ColumnPropNameInRow="MODIFICATION_USER_ID" msprop:Generator_ColumnPropNameInTable="MODIFICATION_USER_IDColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="RETRIEVAL_FORM_REVISION" msprop:Generator_UserTableName="RETRIEVAL_FORM_REVISION" msprop:Generator_RowDeletedName="RETRIEVAL_FORM_REVISIONRowDeleted" msprop:Generator_RowChangedName="RETRIEVAL_FORM_REVISIONRowChanged" msprop:Generator_RowClassName="RETRIEVAL_FORM_REVISIONRow" msprop:Generator_RowChangingName="RETRIEVAL_FORM_REVISIONRowChanging" msprop:Generator_RowEvArgName="RETRIEVAL_FORM_REVISIONRowChangeEvent" msprop:Generator_RowEvHandlerName="RETRIEVAL_FORM_REVISIONRowChangeEventHandler" msprop:Generator_TableClassName="RETRIEVAL_FORM_REVISIONDataTable" msprop:Generator_TableVarName="tableRETRIEVAL_FORM_REVISION" msprop:Generator_RowDeletingName="RETRIEVAL_FORM_REVISIONRowDeleting" msprop:Generator_TablePropName="RETRIEVAL_FORM_REVISION">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="RETRIEVAL_ID" msprop:Generator_UserColumnName="RETRIEVAL_ID" msprop:Generator_ColumnVarNameInTable="columnRETRIEVAL_ID" msprop:Generator_ColumnPropNameInRow="RETRIEVAL_ID" msprop:Generator_ColumnPropNameInTable="RETRIEVAL_IDColumn" type="xs:long" />
              <xs:element name="FORM_REVISION_ID" msprop:Generator_UserColumnName="FORM_REVISION_ID" msprop:Generator_ColumnVarNameInTable="columnFORM_REVISION_ID" msprop:Generator_ColumnPropNameInRow="FORM_REVISION_ID" msprop:Generator_ColumnPropNameInTable="FORM_REVISION_IDColumn" type="xs:long" />
              <xs:element name="MODIFICATION_TIME" msprop:Generator_UserColumnName="MODIFICATION_TIME" msprop:Generator_ColumnVarNameInTable="columnMODIFICATION_TIME" msprop:Generator_ColumnPropNameInRow="MODIFICATION_TIME" msprop:Generator_ColumnPropNameInTable="MODIFICATION_TIMEColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="MODIFICATION_USER_ID" msprop:Generator_UserColumnName="MODIFICATION_USER_ID" msprop:Generator_ColumnVarNameInTable="columnMODIFICATION_USER_ID" msprop:Generator_ColumnPropNameInRow="MODIFICATION_USER_ID" msprop:Generator_ColumnPropNameInTable="MODIFICATION_USER_IDColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="TEST_QUESTION" msprop:Generator_UserTableName="TEST_QUESTION" msprop:Generator_RowDeletedName="TEST_QUESTIONRowDeleted" msprop:Generator_RowChangedName="TEST_QUESTIONRowChanged" msprop:Generator_RowClassName="TEST_QUESTIONRow" msprop:Generator_RowChangingName="TEST_QUESTIONRowChanging" msprop:Generator_RowEvArgName="TEST_QUESTIONRowChangeEvent" msprop:Generator_RowEvHandlerName="TEST_QUESTIONRowChangeEventHandler" msprop:Generator_TableClassName="TEST_QUESTIONDataTable" msprop:Generator_TableVarName="tableTEST_QUESTION" msprop:Generator_RowDeletingName="TEST_QUESTIONRowDeleting" msprop:Generator_TablePropName="TEST_QUESTION">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="TEST_QUESTION_ID" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="TEST_QUESTION_ID" msprop:Generator_ColumnVarNameInTable="columnTEST_QUESTION_ID" msprop:Generator_ColumnPropNameInRow="TEST_QUESTION_ID" msprop:Generator_ColumnPropNameInTable="TEST_QUESTION_IDColumn" type="xs:long" />
              <xs:element name="FORM_ELEMENT_ERROR_ID" msprop:Generator_UserColumnName="FORM_ELEMENT_ERROR_ID" msprop:Generator_ColumnVarNameInTable="columnFORM_ELEMENT_ERROR_ID" msprop:Generator_ColumnPropNameInRow="FORM_ELEMENT_ERROR_ID" msprop:Generator_ColumnPropNameInTable="FORM_ELEMENT_ERROR_IDColumn" type="xs:long" />
              <xs:element name="MODULE_PUBLIC_ID" msprop:Generator_UserColumnName="MODULE_PUBLIC_ID" msprop:Generator_ColumnVarNameInTable="columnMODULE_PUBLIC_ID" msprop:Generator_ColumnPropNameInRow="MODULE_PUBLIC_ID" msprop:Generator_ColumnPropNameInTable="MODULE_PUBLIC_IDColumn" type="xs:long" minOccurs="0" />
              <xs:element name="MODULE_VERSION" msprop:Generator_UserColumnName="MODULE_VERSION" msprop:Generator_ColumnVarNameInTable="columnMODULE_VERSION" msprop:Generator_ColumnPropNameInRow="MODULE_VERSION" msprop:Generator_ColumnPropNameInTable="MODULE_VERSIONColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="MODULE_ALTERNATE_METADATA_TYPE" msprop:Generator_UserColumnName="MODULE_ALTERNATE_METADATA_TYPE" msprop:Generator_ColumnVarNameInTable="columnMODULE_ALTERNATE_METADATA_TYPE" msprop:Generator_ColumnPropNameInRow="MODULE_ALTERNATE_METADATA_TYPE" msprop:Generator_ColumnPropNameInTable="MODULE_ALTERNATE_METADATA_TYPEColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MODULE_ALTERNATE_METADATA_ID" msprop:Generator_UserColumnName="MODULE_ALTERNATE_METADATA_ID" msprop:Generator_ColumnVarNameInTable="columnMODULE_ALTERNATE_METADATA_ID" msprop:Generator_ColumnPropNameInRow="MODULE_ALTERNATE_METADATA_ID" msprop:Generator_ColumnPropNameInTable="MODULE_ALTERNATE_METADATA_IDColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="REPEAT_SEQUENCE_NUMBER" msprop:Generator_UserColumnName="REPEAT_SEQUENCE_NUMBER" msprop:Generator_ColumnVarNameInTable="columnREPEAT_SEQUENCE_NUMBER" msprop:Generator_ColumnPropNameInRow="REPEAT_SEQUENCE_NUMBER" msprop:Generator_ColumnPropNameInTable="REPEAT_SEQUENCE_NUMBERColumn" type="xs:int" />
              <xs:element name="DATA_ELEMENT_PUBLIC_ID" msprop:Generator_UserColumnName="DATA_ELEMENT_PUBLIC_ID" msprop:Generator_ColumnVarNameInTable="columnDATA_ELEMENT_PUBLIC_ID" msprop:Generator_ColumnPropNameInRow="DATA_ELEMENT_PUBLIC_ID" msprop:Generator_ColumnPropNameInTable="DATA_ELEMENT_PUBLIC_IDColumn" type="xs:long" minOccurs="0" />
              <xs:element name="DATA_ELEMENT_VERSION" msprop:Generator_UserColumnName="DATA_ELEMENT_VERSION" msprop:Generator_ColumnVarNameInTable="columnDATA_ELEMENT_VERSION" msprop:Generator_ColumnPropNameInRow="DATA_ELEMENT_VERSION" msprop:Generator_ColumnPropNameInTable="DATA_ELEMENT_VERSIONColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="ALTERNATE_METADATA_TYPE" msprop:Generator_UserColumnName="ALTERNATE_METADATA_TYPE" msprop:Generator_ColumnVarNameInTable="columnALTERNATE_METADATA_TYPE" msprop:Generator_ColumnPropNameInRow="ALTERNATE_METADATA_TYPE" msprop:Generator_ColumnPropNameInTable="ALTERNATE_METADATA_TYPEColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ALTERNATE_METADATA_ID" msprop:Generator_UserColumnName="ALTERNATE_METADATA_ID" msprop:Generator_ColumnVarNameInTable="columnALTERNATE_METADATA_ID" msprop:Generator_ColumnPropNameInRow="ALTERNATE_METADATA_ID" msprop:Generator_ColumnPropNameInTable="ALTERNATE_METADATA_IDColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MODIFICATION_TIME" msprop:Generator_UserColumnName="MODIFICATION_TIME" msprop:Generator_ColumnVarNameInTable="columnMODIFICATION_TIME" msprop:Generator_ColumnPropNameInRow="MODIFICATION_TIME" msprop:Generator_ColumnPropNameInTable="MODIFICATION_TIMEColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="MODIFICATION_USER_ID" msprop:Generator_UserColumnName="MODIFICATION_USER_ID" msprop:Generator_ColumnVarNameInTable="columnMODIFICATION_USER_ID" msprop:Generator_ColumnPropNameInRow="MODIFICATION_USER_ID" msprop:Generator_ColumnPropNameInTable="MODIFICATION_USER_IDColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="FORM_REVISION" msprop:Generator_UserTableName="FORM_REVISION" msprop:Generator_RowDeletedName="FORM_REVISIONRowDeleted" msprop:Generator_RowChangedName="FORM_REVISIONRowChanged" msprop:Generator_RowClassName="FORM_REVISIONRow" msprop:Generator_RowChangingName="FORM_REVISIONRowChanging" msprop:Generator_RowEvArgName="FORM_REVISIONRowChangeEvent" msprop:Generator_RowEvHandlerName="FORM_REVISIONRowChangeEventHandler" msprop:Generator_TableClassName="FORM_REVISIONDataTable" msprop:Generator_TableVarName="tableFORM_REVISION" msprop:Generator_RowDeletingName="FORM_REVISIONRowDeleting" msprop:Generator_TablePropName="FORM_REVISION">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="FORM_REVISION_ID" msdata:ReadOnly="true" msprop:Generator_UserColumnName="FORM_REVISION_ID" msprop:Generator_ColumnPropNameInRow="FORM_REVISION_ID" msprop:Generator_ColumnVarNameInTable="columnFORM_REVISION_ID" msprop:Generator_ColumnPropNameInTable="FORM_REVISION_IDColumn" type="xs:long" />
              <xs:element name="FORM_ID" msprop:Generator_UserColumnName="FORM_ID" msprop:Generator_ColumnPropNameInRow="FORM_ID" msprop:Generator_ColumnVarNameInTable="columnFORM_ID" msprop:Generator_ColumnPropNameInTable="FORM_IDColumn" type="xs:long" />
              <xs:element name="FORM_REVISION_SEQ_NUM" msprop:Generator_UserColumnName="FORM_REVISION_SEQ_NUM" msprop:Generator_ColumnPropNameInRow="FORM_REVISION_SEQ_NUM" msprop:Generator_ColumnVarNameInTable="columnFORM_REVISION_SEQ_NUM" msprop:Generator_ColumnPropNameInTable="FORM_REVISION_SEQ_NUMColumn" type="xs:int" />
              <xs:element name="RECEIVED_TIME" msprop:Generator_UserColumnName="RECEIVED_TIME" msprop:Generator_ColumnPropNameInRow="RECEIVED_TIME" msprop:Generator_ColumnVarNameInTable="columnRECEIVED_TIME" msprop:Generator_ColumnPropNameInTable="RECEIVED_TIMEColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="STATUS" msprop:Generator_UserColumnName="STATUS" msprop:Generator_ColumnPropNameInRow="STATUS" msprop:Generator_ColumnVarNameInTable="columnSTATUS" msprop:Generator_ColumnPropNameInTable="STATUSColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="LOCK_STRING" msprop:Generator_UserColumnName="LOCK_STRING" msprop:Generator_ColumnPropNameInRow="LOCK_STRING" msprop:Generator_ColumnVarNameInTable="columnLOCK_STRING" msprop:Generator_ColumnPropNameInTable="LOCK_STRINGColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="LOCK_OVERRIDE_FLAG" msprop:Generator_UserColumnName="LOCK_OVERRIDE_FLAG" msprop:Generator_ColumnPropNameInRow="LOCK_OVERRIDE_FLAG" msprop:Generator_ColumnVarNameInTable="columnLOCK_OVERRIDE_FLAG" msprop:Generator_ColumnPropNameInTable="LOCK_OVERRIDE_FLAGColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="MODIFICATION_TIME" msprop:Generator_UserColumnName="MODIFICATION_TIME" msprop:Generator_ColumnPropNameInRow="MODIFICATION_TIME" msprop:Generator_ColumnVarNameInTable="columnMODIFICATION_TIME" msprop:Generator_ColumnPropNameInTable="MODIFICATION_TIMEColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="MODIFICATION_USER_ID" msprop:Generator_UserColumnName="MODIFICATION_USER_ID" msprop:Generator_ColumnPropNameInRow="MODIFICATION_USER_ID" msprop:Generator_ColumnVarNameInTable="columnMODIFICATION_USER_ID" msprop:Generator_ColumnPropNameInTable="MODIFICATION_USER_IDColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="GENERATED_FORMS_LIST_WITH_STATUS" msprop:Generator_UserTableName="GENERATED_FORMS_LIST_WITH_STATUS" msprop:Generator_RowDeletedName="GENERATED_FORMS_LIST_WITH_STATUSRowDeleted" msprop:Generator_RowChangedName="GENERATED_FORMS_LIST_WITH_STATUSRowChanged" msprop:Generator_RowClassName="GENERATED_FORMS_LIST_WITH_STATUSRow" msprop:Generator_RowChangingName="GENERATED_FORMS_LIST_WITH_STATUSRowChanging" msprop:Generator_RowEvArgName="GENERATED_FORMS_LIST_WITH_STATUSRowChangeEvent" msprop:Generator_RowEvHandlerName="GENERATED_FORMS_LIST_WITH_STATUSRowChangeEventHandler" msprop:Generator_TableClassName="GENERATED_FORMS_LIST_WITH_STATUSDataTable" msprop:Generator_TableVarName="tableGENERATED_FORMS_LIST_WITH_STATUS" msprop:Generator_RowDeletingName="GENERATED_FORMS_LIST_WITH_STATUSRowDeleting" msprop:Generator_TablePropName="GENERATED_FORMS_LIST_WITH_STATUS">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="VISIT_ID" msprop:Generator_UserColumnName="VISIT_ID" msprop:Generator_ColumnVarNameInTable="columnVISIT_ID" msprop:Generator_ColumnPropNameInRow="VISIT_ID" msprop:Generator_ColumnPropNameInTable="VISIT_IDColumn" type="xs:int" />
              <xs:element name="ID" msprop:Generator_UserColumnName="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnPropNameInTable="IDColumn" type="xs:int" />
              <xs:element name="IDAA" msprop:Generator_UserColumnName="IDAA" msprop:Generator_ColumnVarNameInTable="columnIDAA" msprop:Generator_ColumnPropNameInRow="IDAA" msprop:Generator_ColumnPropNameInTable="IDAAColumn" type="xs:int" />
              <xs:element name="DATE_OF_HSCT" msprop:Generator_UserColumnName="DATE_OF_HSCT" msprop:Generator_ColumnVarNameInTable="columnDATE_OF_HSCT" msprop:Generator_ColumnPropNameInRow="DATE_OF_HSCT" msprop:Generator_ColumnPropNameInTable="DATE_OF_HSCTColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="STATUS" msprop:Generator_UserColumnName="STATUS" msprop:Generator_ColumnVarNameInTable="columnSTATUS" msprop:nullValue="_null" msprop:Generator_ColumnPropNameInRow="STATUS" msprop:Generator_ColumnPropNameInTable="STATUSColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="EBMT_LAST_MOD_TIME" msprop:Generator_UserColumnName="EBMT_LAST_MOD_TIME" msprop:Generator_ColumnVarNameInTable="columnEBMT_LAST_MOD_TIME" msprop:Generator_ColumnPropNameInRow="EBMT_LAST_MOD_TIME" msprop:Generator_ColumnPropNameInTable="EBMT_LAST_MOD_TIMEColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="FORM_ID" msprop:Generator_UserColumnName="FORM_ID" msprop:Generator_ColumnPropNameInRow="FORM_ID" msprop:Generator_ColumnVarNameInTable="columnFORM_ID" msprop:Generator_ColumnPropNameInTable="FORM_IDColumn" type="xs:decimal" />
              <xs:element name="FORM_REVISION_ID" msprop:Generator_UserColumnName="FORM_REVISION_ID" msprop:Generator_ColumnPropNameInRow="FORM_REVISION_ID" msprop:Generator_ColumnVarNameInTable="columnFORM_REVISION_ID" msprop:Generator_ColumnPropNameInTable="FORM_REVISION_IDColumn" type="xs:decimal" />
              <xs:element name="FORM_NUMBER" msprop:Generator_UserColumnName="FORM_NUMBER" msprop:Generator_ColumnPropNameInRow="FORM_NUMBER" msprop:Generator_ColumnVarNameInTable="columnFORM_NUMBER" msprop:Generator_ColumnPropNameInTable="FORM_NUMBERColumn" type="xs:decimal" />
              <xs:element name="CRID" msprop:Generator_UserColumnName="CRID" msprop:Generator_ColumnPropNameInRow="CRID" msprop:Generator_ColumnVarNameInTable="columnCRID" msprop:Generator_ColumnPropNameInTable="CRIDColumn" type="xs:decimal" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:FORM" />
      <xs:field xpath="mstns:FORM_ID" />
    </xs:unique>
    <xs:unique name="FORM_ELEMENT_ERROR_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:FORM_ELEMENT_ERROR" />
      <xs:field xpath="mstns:FORM_ELEMENT_ERROR_ID" />
    </xs:unique>
    <xs:unique name="INFORMATION_PROCESS_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:INFORMATION_PROCESS" />
      <xs:field xpath="mstns:INFORMATION_PROCESS_ID" />
    </xs:unique>
    <xs:unique name="INSTITUTION_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:INSTITUTION" />
      <xs:field xpath="mstns:INSTITUTION_ID" />
    </xs:unique>
    <xs:unique name="MODULE_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:MODULE" />
      <xs:field xpath="mstns:MODULE_ID" />
    </xs:unique>
    <xs:unique name="PROCESSING_STATUS_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:PROCESSING_STATUS" />
      <xs:field xpath="mstns:PROCESSING_STATUS_ID" />
    </xs:unique>
    <xs:unique name="QUESTION_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:QUESTION" />
      <xs:field xpath="mstns:QUESTION_ID" />
    </xs:unique>
    <xs:unique name="RETRIEVAL_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:RETRIEVAL" />
      <xs:field xpath="mstns:RETRIEVAL_ID" />
    </xs:unique>
    <xs:unique name="RETRIEVAL_FORM_REVISION_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:RETRIEVAL_FORM_REVISION" />
      <xs:field xpath="mstns:RETRIEVAL_ID" />
      <xs:field xpath="mstns:FORM_REVISION_ID" />
    </xs:unique>
    <xs:unique name="TEST_QUESTION_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:TEST_QUESTION" />
      <xs:field xpath="mstns:TEST_QUESTION_ID" />
    </xs:unique>
    <xs:unique name="FORM_REVISION_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:FORM_REVISION" />
      <xs:field xpath="mstns:FORM_REVISION_ID" />
    </xs:unique>
    <xs:unique name="GENERATED_FORMS_LIST_WITH_STATUSKey2" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:GENERATED_FORMS_LIST_WITH_STATUS" />
      <xs:field xpath="mstns:VISIT_ID" />
      <xs:field xpath="mstns:ID" />
      <xs:field xpath="mstns:IDAA" />
      <xs:field xpath="mstns:FORM_NUMBER" />
    </xs:unique>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="RETRIEVAL_RETRIEVAL_FORM_REVISION" msdata:parent="RETRIEVAL" msdata:child="RETRIEVAL_FORM_REVISION" msdata:parentkey="RETRIEVAL_ID" msdata:childkey="RETRIEVAL_ID" msprop:Generator_UserRelationName="RETRIEVAL_RETRIEVAL_FORM_REVISION" msprop:Generator_RelationVarName="relationRETRIEVAL_RETRIEVAL_FORM_REVISION" msprop:Generator_UserChildTable="RETRIEVAL_FORM_REVISION" msprop:Generator_UserParentTable="RETRIEVAL" msprop:Generator_ParentPropName="RETRIEVALRow" msprop:Generator_ChildPropName="GetRETRIEVAL_FORM_REVISIONRows" />
      <msdata:Relationship name="INSTITUTION_RETRIEVAL" msdata:parent="INSTITUTION" msdata:child="RETRIEVAL" msdata:parentkey="INSTITUTION_ID" msdata:childkey="SUBSCRIBER_INSTITUTION_ID" msprop:Generator_UserRelationName="INSTITUTION_RETRIEVAL" msprop:Generator_RelationVarName="relationINSTITUTION_RETRIEVAL" msprop:Generator_UserChildTable="RETRIEVAL" msprop:Generator_UserParentTable="INSTITUTION" msprop:Generator_ParentPropName="INSTITUTIONRow" msprop:Generator_ChildPropName="GetRETRIEVALRows" />
      <msdata:Relationship name="FORM_INSTITUTION" msdata:parent="INSTITUTION" msdata:child="FORM" msdata:parentkey="INSTITUTION_ID" msdata:childkey="PUBLISHER_INSTITUTION_ID" msprop:Generator_UserRelationName="FORM_INSTITUTION" msprop:Generator_RelationVarName="relationFORM_INSTITUTION" msprop:Generator_UserChildTable="FORM" msprop:Generator_UserParentTable="INSTITUTION" msprop:Generator_ParentPropName="INSTITUTIONRow" msprop:Generator_ChildPropName="GetFORMRows" />
      <msdata:Relationship name="INSTITUTION_FORM" msdata:parent="INSTITUTION" msdata:child="FORM" msdata:parentkey="INSTITUTION_ID" msdata:childkey="ORIGINATOR_INSTITUTION_ID" msprop:Generator_UserRelationName="INSTITUTION_FORM" msprop:Generator_RelationVarName="relationINSTITUTION_FORM" msprop:Generator_UserChildTable="FORM" msprop:Generator_UserParentTable="INSTITUTION" msprop:Generator_ParentPropName="INSTITUTIONRowByINSTITUTION_FORM" msprop:Generator_ChildPropName="GetFORMRowsByINSTITUTION_FORM" />
      <msdata:Relationship name="MODULE_QUESTION" msdata:parent="MODULE" msdata:child="QUESTION" msdata:parentkey="MODULE_ID" msdata:childkey="QUESTION_ID" msprop:Generator_UserRelationName="MODULE_QUESTION" msprop:Generator_RelationVarName="relationMODULE_QUESTION" msprop:Generator_UserChildTable="QUESTION" msprop:Generator_UserParentTable="MODULE" msprop:Generator_ParentPropName="MODULERow" msprop:Generator_ChildPropName="GetQUESTIONRows" />
      <msdata:Relationship name="QUESTION_FORM_ELEMENT_ERROR" msdata:parent="QUESTION" msdata:child="FORM_ELEMENT_ERROR" msdata:parentkey="QUESTION_ID" msdata:childkey="FORM_ELEMENT_ERROR_ID" msprop:Generator_UserRelationName="QUESTION_FORM_ELEMENT_ERROR" msprop:Generator_RelationVarName="relationQUESTION_FORM_ELEMENT_ERROR" msprop:Generator_UserChildTable="FORM_ELEMENT_ERROR" msprop:Generator_UserParentTable="QUESTION" msprop:Generator_ParentPropName="QUESTIONRow" msprop:Generator_ChildPropName="GetFORM_ELEMENT_ERRORRows" />
      <msdata:Relationship name="FORM_REVISION_MODULE" msdata:parent="FORM_REVISION" msdata:child="MODULE" msdata:parentkey="FORM_REVISION_ID" msdata:childkey="FORM_REVISION_ID" msprop:Generator_UserRelationName="FORM_REVISION_MODULE" msprop:Generator_RelationVarName="relationFORM_REVISION_MODULE" msprop:Generator_UserChildTable="MODULE" msprop:Generator_UserParentTable="FORM_REVISION" msprop:Generator_ParentPropName="FORM_REVISIONRow" msprop:Generator_ChildPropName="GetMODULERows" />
      <msdata:Relationship name="FORM_REVISION_PROCESSING_STATUS" msdata:parent="FORM_REVISION" msdata:child="PROCESSING_STATUS" msdata:parentkey="FORM_REVISION_ID" msdata:childkey="FORM_REVISION_ID" msprop:Generator_UserRelationName="FORM_REVISION_PROCESSING_STATUS" msprop:Generator_RelationVarName="relationFORM_REVISION_PROCESSING_STATUS" msprop:Generator_UserChildTable="PROCESSING_STATUS" msprop:Generator_UserParentTable="FORM_REVISION" msprop:Generator_ParentPropName="FORM_REVISIONRow" msprop:Generator_ChildPropName="GetPROCESSING_STATUSRows" />
      <msdata:Relationship name="FORM_FORM_REVISION" msdata:parent="FORM" msdata:child="FORM_REVISION" msdata:parentkey="FORM_ID" msdata:childkey="FORM_ID" msprop:Generator_UserRelationName="FORM_FORM_REVISION" msprop:Generator_RelationVarName="relationFORM_FORM_REVISION" msprop:Generator_UserChildTable="FORM_REVISION" msprop:Generator_UserParentTable="FORM" msprop:Generator_ParentPropName="FORMRow" msprop:Generator_ChildPropName="GetFORM_REVISIONRows" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>